Home / Servers / DigitalOcean API / vpc_subnets_delete
Delete a VPC Subnet
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Delete a VPC Subnet To delete a specific subnet from a VPC, send a DELETE request to /v2/vpcs/$VPC_UUID/subnets/$SUBNET_UUID. A successful request returns a 204 status code with no response body. [DELETE /v2/vpcs/{vpc_uuid}/subnets/{subnet_uuid}]
Name on the gateway: digitalocean_api__vpc_subnets_delete · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
vpc_uuid required | string | The unique identifier of the VPC to which the subnet… |
subnet_uuid required | string | The unique identifier of a VPC subnet. |
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:
{
"name": "digitalocean_api__vpc_subnets_delete",
"arguments": {
"vpc_uuid": "…",
"subnet_uuid": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 delete a vpc subnet tool with vpc_uuid set to ….