> ## Documentation Index
> Fetch the complete documentation index at: https://opensandbox-oc-s-762ac928075c46d2828bcb22.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Disconnect Channel

Disconnect a channel from an agent. Removes webhook registration and config.

**CLI equivalent:** `oc agent disconnect <id> <channel>`

<ParamField path="agentId" type="string" required>
  Agent ID
</ParamField>

<ParamField path="channel" type="string" required>
  Channel type (e.g. `telegram`)
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {}
  ```
</ResponseExample>
