Skip to content

Disconnect an agent

DELETE
/api/v1/workspaces/{workspaceId}/agent-connections/{connectionId}
curl --request DELETE \
--url https://api.crossmart.io/api/v1/workspaces/example/agent-connections/example \
--cookie better-auth.session_token=<better-auth.session_token>

Revokes its tokens at once. The agent must be authorized again to come back.

workspaceId
required
string
connectionId
required
string