Home / Servers / DigitalOcean API / ssh_keys_delete

Delete an SSH Key

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

Delete an SSH Key To destroy a public SSH key that you have in your account, send a DELETE request to /v2/account/keys/$KEY_ID or /v2/account/keys/$KEY_FINGERPRINT. A 204 status will be returned, indicating that the… [DELETE /v2/account/keys/{ssh_key_identifier}]

Name on the gateway: digitalocean_api__ssh_keys_delete · may change things.

Parameters

NameTypeDescription
ssh_key_identifier requiredintegerEither the ID or the fingerprint of an existing SSH 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__ssh_keys_delete",
  "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 delete an ssh key tool with ssh_key_identifier set to ….

More from DigitalOcean API