Home / Servers / DigitalOcean API / security_post_restore_secret

Restore Secret

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

Restore Secret To restore a secret that is pending deletion, send a POST request to /v2/security/secrets/{secret}/restore. region is required. The response contains the secret metadata and does not include secret… [POST /v2/security/secrets/{secret}/restore]

Name on the gateway: digitalocean_api__security_post_restore_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_post_restore_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 restore secret tool with secret set to ….

More from DigitalOcean API