---
title: "Unlink Channel"
method: DELETE
path: "/dashboard/bot/settings/{guild_id}/channels/{channel_ref}"
tags: ["dashboard"]
---

# Unlink Channel

`DELETE /dashboard/bot/settings/{guild_id}/channels/{channel_ref}`

Unlinks a channel, releasing every setting that pointed at it.

Busts the bot's cached logging config so an unlinked destination stops being written to
immediately instead of for up to `monni.logs.config.CACHE_TTL` more seconds. Logging is the
only feature that currently caches per-channel state this way; if another module grows one,
it needs the same fire-and-forget notification here.

## Path parameters

- `guild_id` integer, required
- `channel_ref` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/monni/apis/fastapi.md) · [All operations](https://skmtc.dev/monni/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/monni/fastapi/revisions/0321cc5200a6/schema)
