Home / Servers / DigitalOcean API / droplets_destroy_with_associated_resources_selective

Selectively Destroy a Droplet and its Associated Resources

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Selectively Destroy a Droplet and its Associated Resources To destroy a Droplet along with a sub-set of its associated resources, send a DELETE request to the /v2/droplets/$DROPLET_ID/destroy_with_associated_resources/selective endpoint. The JSON body of… [DELETE /v2/droplets/{droplet_id}/destroy_with_associated_resources/selective]

Name on the gateway: digitalocean_api__droplets_destroy_with_associated_resources_selective · may change things.

Parameters

NameTypeDescription
droplet_id requiredintegerA unique identifier for a Droplet instance.
floating_ipsarrayAn array of unique identifiers for the floating IPs to be scheduled for…
reserved_ipsarrayAn array of unique identifiers for the reserved IPs to be scheduled for…
snapshotsarrayAn array of unique identifiers for the snapshots to be scheduled for deletion.
volumesarrayAn array of unique identifiers for the volumes to be scheduled for deletion.
volume_snapshotsarrayAn array of unique identifiers for the volume snapshots to be scheduled for…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__droplets_destroy_with_associated_resources_selective",
  "arguments": {
    "droplet_id": 0
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the selectively destroy a droplet and its associated resources tool with droplet_id set to ….

More from DigitalOcean API