Home / Servers / DigitalOcean API / functions_access_key_update

Update a Namespace Access Key

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

Update a Namespace Access Key Updates the name of an access key for a serverless functions namespace. To update an access key, send a PUT request to /v2/functions/namespaces/{namespace_id}/keys/{key_id}. [PUT /v2/functions/namespaces/{namespace_id}/keys/{key_id}]

Name on the gateway: digitalocean_api__functions_access_key_update · may change things.

Parameters

NameTypeDescription
namespace_id requiredstringThe ID of the namespace to be managed.
key_id requiredstringThe ID of the access key to be managed.
name requiredstringThe new name for the access key.

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__functions_access_key_update",
  "arguments": {
    "namespace_id": "…",
    "key_id": "…",
    "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 namespace access key tool with namespace_id set to ….

More from DigitalOcean API