---
title: "Remove a channel account"
method: POST
path: "/api/channels/{id}/remove"
tags: ["Channels"]
---

# Remove a channel account

`POST /api/channels/{id}/remove`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/channels/{id}/remove`
- Auth: API key in cookie `luca.session_token`

Disconnects the account if it is still connected and hides it from the channel list after provider cleanup completes. Instagram, Messenger, and Telegram history is deleted at disconnect; WhatsApp history remains available.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Path parameters

- `id` string, uuid, required

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- unknown

## Other responses

- `400`: bad request
- `401`: unauthorized
- `404`: not found
- `409`: conflict
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
