Home / Servers / DigitalOcean API / harness_delete_provider_connection

Revoke a provider connection.

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

Revoke a provider connection. Revokes the connection and returns it. A connection that an environment config still uses is left in place and the error names those configs. There is no force flag on this route. A connection under… [DELETE /v2/agents/auth/{provider}/connections/{connection_id}]

Name on the gateway: digitalocean_api__harness_delete_provider_connection · may change things.

Parameters

NameTypeDescription
provider requiredstringProvider key. github is the provider served today.
connection_id requiredstringThe connection id.

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_delete_provider_connection",
  "arguments": {
    "provider": "…",
    "connection_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 revoke a provider connection. tool with provider set to ….

More from DigitalOcean API