Home / Servers / DigitalOcean API / spaces_key_update

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… [PUT /v2/spaces/keys/{access_key}]

Name on the gateway: digitalocean_api__spaces_key_update · may change things.

Parameters

NameTypeDescription
access_key requiredstringThe access key's ID.
namestringThe access key's name.
grantsarrayThe list of permissions for the access key.
body_access_keystringThe Access Key ID used to access a bucket.
created_atstringThe 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:

call_tool arguments
{
  "name": "digitalocean_api__spaces_key_update",
  "arguments": {
    "access_key": "…"
  }
}

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 spaces access keys tool with access_key set to ….

More from DigitalOcean API