{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To destroy a Droplet along with a sub-set of its associated resources, send a\nDELETE request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/selective`\nendpoint. The JSON body of the request should include `reserved_ips`, `snapshots`, `volumes`,\nor `volume_snapshots` keys each set to an array of IDs for the associated\nresources to be destroyed. The IDs can be found by querying the Droplet's\nassociated resources. Any associated resource not included in the request\nwill remain and continue to accrue changes on your account.\n\nA successful response will include a 202 response code and no content. Use\nthe status endpoint to check on the success or failure of the destruction of\nthe individual resources.\n","properties":{"path":{"type":"object","properties":{"droplet_id":{"type":"integer","minimum":1,"examples":[3164444],"description":"A unique identifier for a Droplet instance."}},"required":["droplet_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/selective_destroy_associated_resource"}},"required":["path"],"additionalProperties":false,"definitions":{"selective_destroy_associated_resource":{"type":"object","description":"An object containing information about a resource to be scheduled for deletion.","properties":{"floating_ips":{"type":"array","description":"An array of unique identifiers for the floating IPs to be scheduled for deletion.","items":{"type":"string"},"examples":[["6186916"]]},"reserved_ips":{"type":"array","description":"An array of unique identifiers for the reserved IPs to be scheduled for deletion.","items":{"type":"string"},"examples":[["6186916"]]},"snapshots":{"type":"array","description":"An array of unique identifiers for the snapshots to be scheduled for deletion.","items":{"type":"string"},"examples":[["61486916"]]},"volumes":{"type":"array","description":"An array of unique identifiers for the volumes to be scheduled for deletion.","items":{"type":"string"},"examples":[["ba49449a-7435-11ea-b89e-0a58ac14480f"]]},"volume_snapshots":{"type":"array","description":"An array of unique identifiers for the volume snapshots to be scheduled for deletion.","items":{"type":"string"},"examples":[["edb0478d-7436-11ea-86e6-0a58ac144b91"]]}}}}},"name":"Selectively Destroy a Droplet and its Associated Resources","id":"digitalocean.droplets_destroy_withassociatedresourcesselective","example":{"path":{"droplet_id":3164444}},"maxRequests":1,"summary":false}}