---
title: "Delete a channel"
method: DELETE
path: "/channels/{channel_id}"
tags: ["Channels"]
---

# Delete a channel

`DELETE /channels/{channel_id}`

Permanently removes a channel and all its content. Only server administrators or the channel owner can delete channels. When `delete_messages` is set on a group DM, the caller's authored messages in the group are deleted before leaving and sudo mode verification is required.

## Path parameters

- `channel_id` string, snowflake, required

## Query parameters

- `silent` string — Whether to suppress the system message when leaving a group DM
- `delete_messages` string — When leaving a group DM, also delete all messages the caller has sent in the channel

## Request body

- SudoVerificationSchema
  - `password` string
  - `mfa_method` 'totp' | 'webauthn' — MFA method to use for verification
  - `mfa_code` string — MFA verification code from an authenticator app
  - `webauthn_response` object — WebAuthn authentication response
  - `webauthn_challenge` string — WebAuthn challenge string

## Response `204`

No Content

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/d9c706133cc5/schema)
