Home / Servers / DigitalOcean API / sessions_delete
Delete a Session
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Delete a Session Deletes the session and its policy. Succeeds without deleting anything when the session does not exist or you cannot delete it, so repeating a delete also succeeds. A malformed session_urn is… [DELETE /v2/action-gateway/sessions/{session_urn}]
Name on the gateway: digitalocean_api__sessions_delete · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
session_urn required | string | URN of the session, for example do:managed_agent_session: . |
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__sessions_delete",
"arguments": {
"session_urn": "…"
}
}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 delete a session tool with session_urn set to ….