DO Ideas 2

Add Scrub Data Option to API Destroy Call

When destroying a droplet from the control panel, we have the option to scrub the data on that droplet.

It would be helpful if the API could support this as well. Another parameter can be appended to the destroy droplet request.

https://api.digitalocean.com/droplets/[droplet_id]/destroy/?client_id=[your_client_id]&api_key=[your_api_key]&scrub=[true_or_false]

  • Omar Shammas
  • Sep 11 2018
  • Shipped
  • Sep 11, 2018

    Admin Response

    The scrub flag has been added to the API and also the default behavior has been modified to set scrub to true even if you don't explicitly state it in the API call. Thanks, Moisey
  • Attach files