Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Delete a connection

DELETE/api/v1/connections/{connection_id}

Deletes a connection. It fails while connected accounts or Virtual MCP servers still use the connection. Delete its connected accounts first with Delete a connected account, and remove it from each server with Update a Virtual MCP server.

Authorization

Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.

Path parameters

connection_idstringrequired
The connection's ID, such as conn_70219645518265104. Find it in the id field of the List connections response.

Errors

Every error has the same body: code, message and details. See Errors and rate limits.

400Invalid request - connected accounts or Virtual MCP servers still use the connection.
401Authentication required - missing or invalid access token
404Not found - no connection with this ID. Error code RESOURCE_NOT_FOUND.