Skip to content

Instantly share code, notes, and snippets.

@jollychang
Created March 2, 2019 01:49
Show Gist options
  • Save jollychang/143e7e39f8ae7d8a2da78087d3c7c053 to your computer and use it in GitHub Desktop.
Save jollychang/143e7e39f8ae7d8a2da78087d3c7c053 to your computer and use it in GitHub Desktop.
create vultr server by API
curl -H 'API-Key: YOUR_VULTR_TOKEN' https://api.vultr.com/v1/server/create --data 'DCID=25' --data 'VPSPLANID=201' --data 'OSID=215'
curl -H 'API-Key: YOUR_VULTR_TOKEN' https://api.vultr.com/v1/server/create --data 'DCID=40' --data 'VPSPLANID=201' --data 'OSID=215’
curl -H 'API-Key: YOUR_VULTR_TOKEN' https://api.vultr.com/v1/server/create --data 'DCID=6' --data 'VPSPLANID=199' --data 'OSID=215'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment