Guides - Build the Final Query
Updated
, by Linode
Your gateway to everything Linode offers: Automate tasks in the Cloud Manager, create Linodes, manage IP addresses, and open support tickets using an intuitive REST API.
Create a Linode account
to try this guide with a $ credit.
This credit will be applied to any valid services used during your first
days.
Replace the values in the command below with your chosen type, region, and image, and choose a label and secure password.
curl -X POST https://api.linode.com/v4/linode/instances \
-H "Authorization: Bearer $TOKEN" -H "Content-type: application/json" \
-d '{"type": "g5-standard-2", "region": "us-east", "image": "linode/debian9", "root_pass": "root_password", "label": "prod-1"}'
This page was originally published on