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
| Name | Type | Description |
|---|---|---|
secret required | string | The name of the secret. |
region required | string | The 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:
{
"name": "digitalocean_api__security_post_restore_secret",
"arguments": {
"secret": "…",
"region": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 ….