Skip to main content
DELETE
Delete an agent
Removes the agent and everything attached to it. Its token stops working at once. To only cut off one credential, detach the grant instead. Deletes the agent, its grants, conversations, schedules, memories, and channel presences. The gateway stops honoring its token immediately.
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

agentId
string
required

Response

Agent deleted