Platform API reference

Platform API · Oauth-Authorization-Server

delete/v1/oauth/workspaces/{workspace_id}/connections/{grant_id}Auth

Disconnect a client on behalf of the workspace

Revokes the whole grant family for a grant made by any member of this workspace — the lever a workspace owner needs when an employee leaves and their MCP client is still running. Requires `workspace.connection.revoke`.

Path parameters

workspace_id*string · uuid

Id of the workspace.

grant_id*string · uuid

Id of the grant.

Response · 204

Disconnected.

Example

Request

DELETE https://api.platform-auth.productcraft.co/v1/oauth/workspaces/{workspace_id}/connections/{grant_id}
Authorization: Bearer YOUR_TOKEN