Sign in

Snapshot Droplet

documented

Create a snapshot for the Droplet (via action with type=snapshot).

POST /v2/droplets/{droplet_id}/actionsDropletsno 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/{{$droplet_id}}/actions\" \\\n  -X POST \\\n  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Accept: application/json\" \\\n  -d '{"type":"{{$type}}", "name":"{{$name}}", "size":"{{$size}}", "image":"{{$image}}", "disk":{{$disk}} }'