Sign in

Create Droplet

documented

Create a new Droplet with specified image, region, size and options.

POST /v2/dropletsDropletsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.digitalocean.com/v2/droplets" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "region": "{{$region}}", "size": "{{$size}}", "image": "{{$image}}", "ssh_keys": {{$ssh_keys}}, "backups": {{$backups}}, "ipv6": {{$ipv6}}, "user_data": "{{$user_data}}", "volumes": {{$volumes}}, "tags": {{$tags}}, "monitoring": {{$monitoring}} }'