Home / Servers / DigitalOcean API / spaces_key_patch
Update Spaces Access Keys
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Update Spaces Access Keys To update Spaces Access Key, send a PUT or PATCH request to /v2/spaces/keys/$ACCESS_KEY. At the moment, you cannot convert a fullaccess key to a scoped key or vice versa. You can only update the… [PATCH /v2/spaces/keys/{access_key}]
Name on the gateway: digitalocean_api__spaces_key_patch · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
access_key required | string | The access key's ID. |
name | string | The access key's name. |
grants | array | The list of permissions for the access key. |
body_access_key | string | The Access Key ID used to access a bucket. |
created_at | string | The date and time the key was created. |
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__spaces_key_patch",
"arguments": {
"access_key": "…"
}
}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 update spaces access keys tool with access_key set to ….