Skip to content

Disconnect an assistant

DELETE
/v1/mcp-connections/{id}
curl --request DELETE \
--url https://beta-api.plune.ai/v1/mcp-connections/example \
--cookie plune_session=<plune_session>

Revokes the connection: its tokens answer nothing from the next call. 30 a minute a person. The signed-in session alone (an API token gets 401): a token, an assistant’s own included, can neither grant a connection nor widen one. Mounted only where the remote MCP server is switched on (MCP_PUBLIC_URL).

id
required
string

The connection id.

Revoked

No / invalid session

No such connection of this person

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over