Skip to main content
DELETE
Detach a channel
Takes the agent off a channel. Use it when an agent should stop answering there. You can also delete the provider app in the same call. Related guide: Slack integration. Removes the presence, its reach decisions, and its tokens. Conversations stay. Set deleteRemote to also delete the app on the provider 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

agentId
string
required
provider
enum<string>
required

Channel provider. Slack is the only provider today.

Available options:
slack

Body

application/json
deleteRemote
boolean
default:false

Response

Detached