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

# Remove a Connect participant

> Remove a participant from a thread — courier reassignment being the common case. Access is revoked instantly; lane history stays with the thread.

Remove a participant. Their tokens are revoked immediately and their apps lose the thread; the lane's history remains for the other side and for audit. The lane returns to `waiting` until a replacement joins.

## Path

<ParamField path="thread_id" type="string" required>
  Thread ID (`th_…`) or your `reference`.
</ParamField>

<ParamField path="participant_id" type="string" required>
  Participant ID (`prt_…`) or their `external_id`.
</ParamField>

## Response

<ResponseField name="removed" type="boolean">
  Always `true` on success.
</ResponseField>

<ResponseField name="lanes" type="array">
  Updated lane states.
</ResponseField>

<RequestExample>
  ```bash cURL theme={"dark"}
  curl -X DELETE https://api.open.cx/connect/threads/order_84421/participants/drv_318 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"dark"}
  {
    "removed": true,
    "lanes": [
      { "id": "customer_merchant", "status": "active" },
      { "id": "customer_courier", "status": "waiting" }
    ]
  }
  ```
</ResponseExample>
