Home / Servers / DigitalOcean API / vpc_subnets_update

Update a VPC Subnet

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

Update a VPC Subnet To update the name of a specific subnet within a VPC, send a PATCH request to /v2/vpcs/$VPC_UUID/subnets/$SUBNET_UUID. [PATCH /v2/vpcs/{vpc_uuid}/subnets/{subnet_uuid}]

Name on the gateway: digitalocean_api__vpc_subnets_update · may change things.

Parameters

NameTypeDescription
vpc_uuid requiredstringThe unique identifier of the VPC to which the subnet…
subnet_uuid requiredstringThe unique identifier of a VPC subnet.
name requiredstringThe new human-readable name 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": "digitalocean_api__vpc_subnets_update",
  "arguments": {
    "vpc_uuid": "…",
    "subnet_uuid": "…",
    "name": "…"
  }
}

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 update a vpc subnet tool with vpc_uuid set to ….

More from DigitalOcean API