Skip to content

Instantly share code, notes, and snippets.

@tech6
Created April 5, 2017 18:49
Show Gist options
  • Save tech6/032e7e0a39f1d1be3692a676e66c8617 to your computer and use it in GitHub Desktop.
Save tech6/032e7e0a39f1d1be3692a676e66c8617 to your computer and use it in GitHub Desktop.
curl -X POST -H "Content-Type: application/json" \
-H "Authorization: Bearer APIToken" \
-d '{"type":"reboot"}' \
"https://api.digitalocean.com/v2/droplets/DropletID/actions"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment