Home / Servers / DigitalOcean API / security_delete_secret

Delete Secret

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

Delete Secret To schedule a secret for deletion, send a DELETE request to /v2/security/secrets/{secret}. region is required. The secret is pending deletion and can be restored until it is permanently removed. [DELETE /v2/security/secrets/{secret}]

Name on the gateway: digitalocean_api__security_delete_secret · may change things.

Parameters

NameTypeDescription
secret requiredstringThe name of the secret.
region requiredstringThe region where the secret is stored.

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__security_delete_secret",
  "arguments": {
    "secret": "…",
    "region": "…"
  }
}

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 secret tool with secret set to ….

More from DigitalOcean API