Home / Servers / DigitalOcean API / harness_post_trigger_rotate_secret

RotateTriggerSecret issues a new webhook secret.

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

RotateTriggerSecret issues a new webhook secret. Webhook triggers only (409 for cron). Issues a new secret (shown once) and moves the old value to the previous slot, where it keeps verifying deliveries until previous_secret_expires_at. Default… [POST /v2/agents/triggers/{trigger_id}/rotate-secret]

Name on the gateway: digitalocean_api__harness_post_trigger_rotate_secret · may change things.

Parameters

NameTypeDescription
trigger_id requiredstringThe trigger UUID.
grace_period_secondsintegerHow long the outgoing secret keeps verifying deliveries. Omit for the default…

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__harness_post_trigger_rotate_secret",
  "arguments": {
    "trigger_id": "…"
  }
}

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 rotatetriggersecret issues a new webhook secret. tool with trigger_id set to ….

More from DigitalOcean API