Home / Servers / DigitalOcean API / ssh_keys_update

Update an SSH Key's Name

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

Update an SSH Key's Name To update the name of an SSH key, send a PUT request to either /v2/account/keys/$SSH_KEY_ID or /v2/account/keys/$SSH_KEY_FINGERPRINT. Set the name attribute to the new name you want to use. [PUT /v2/account/keys/{ssh_key_identifier}]

Name on the gateway: digitalocean_api__ssh_keys_update · may change things.

Parameters

NameTypeDescription
ssh_key_identifier requiredintegerEither the ID or the fingerprint of an existing SSH key.
namestringA human-readable display name for this key, used to easily identify the SSH…

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__ssh_keys_update",
  "arguments": {
    "ssh_key_identifier": 0
  }
}

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 an ssh key's name tool with ssh_key_identifier set to ….

More from DigitalOcean API