> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Unbind channel

> Unbind a channel from an agent.

Unbind a channel from an agent.

## Overview

| | |
| - | - |
| Method | `DELETE` |
| Path | `/api/v2/agents/{agentId}/channel-bindings/{channel}` |
| Permission | `agents.bindings:write` |

## Path parameters

**agentId** `string` *required*

UUID of the agent.

**channel** `string` *required*

Must be `linkedin`, `whatsapp`, or `email`.

## Request body

**expected\_updated\_at** `string` *required*

Version from `GET /api/v2/agents/{agentId}`.

```bash cURL theme={null}
curl -X DELETE "https://revor.ai/api/v2/agents/{agentId}/channel-bindings/{channel}" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME" \
  -H "Content-Type: application/json" \
  -d '{
    "expected_updated_at": "2026-11-13T04:44:50.096+00:00"
  }'
```

## Response

```json 200 theme={null}
{
  "ok": true,
  "request_id": "req_xxx",
  "item": {
    "id": "agent-uuid",
    "updated_at": "2026-11-13T04:44:50.096+00:00"
  }
}
```

### Behavior

* Each operation changes one channel and preserves the others.
* PATCH rejects binding fields.
* Existing ownership, channel matching, autoreply account occupancy, and active-agent rules apply.

## Errors

| HTTP | Code | Meaning |
| - | - | - |
| `400` | `agent_input_invalid` | Request does not match the contract |
| `403` | `permission_denied` | Missing required permission |
| `404` | `agent_not_found` | Agent does not exist, was deleted, or belongs to another user |
| `409` | `agent_config_conflict` | Version expired or concurrent modification |
| `500` | `agent_operation_failed` | Operation failed. Read current state before retrying |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.