Home / Servers / DigitalOcean API / security_revert_secret
Revert Secret
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Revert Secret To revert a secret to a prior version, send a POST request to /v2/security/secrets/{secret}/versions/{version}/revert. region is required. current_version must be the secret's current version. If it… [POST /v2/security/secrets/{secret}/versions/{version}/revert]
Name on the gateway: digitalocean_api__security_revert_secret · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
secret required | string | The name of the secret. |
version required | integer | The target version to revert to. Reverting creates a new… |
region required | string | The region where the secret is stored. |
current_version required | integer | The current version of the secret. Used to reject the request if the secret… |
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_revert_secret",
"arguments": {
"secret": "…",
"version": 0,
"region": "…",
"current_version": 0
}
}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 revert secret tool with secret set to ….