Skip to main content
DELETE
Detach an agent from a connection
Removes the agent’s grant for this connection, so the gateway stops serving its credentials to that agent. See Agent access. The same write as DELETE /agents/{agentId}/grants/connections/{connectionId}, addressed from the connection’s side.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

connectionId
string
required
agentId
string
required

Response

Grant removed