Home / Servers / Linode API / delete_vpc_subnet

Delete a VPC subnet

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

Delete a VPC subnet Delete a single VPC subnet. The user accessing this operation must have read_write grants to the VPC. A successful request triggers a subnet_delete event. > 📘 > > You need to delete all the… [DELETE /v4/vpcs/{vpcId}/subnets/{vpcSubnetId}]

Name on the gateway: linode_api__delete_vpc_subnet · may change things.

Parameters

NameTypeDescription
vpcId requiredintegerThe id of the VPC.
vpcSubnetId requiredintegerThe id of the 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:

call_tool arguments
{
  "name": "linode_api__delete_vpc_subnet",
  "arguments": {
    "vpcId": 0,
    "vpcSubnetId": 0
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

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

Try asking

Use the delete a vpc subnet tool with vpcId set to ….

More from Linode API