Skip to main content
POST
/
v1
/
instances
/
{instance_id}
/
channels
/
{channel}
/
disconnect
curl -X POST https://api.chowder.dev/v1/instances/ins_abc123/channels/discord/disconnect \
  -H "Authorization: Bearer YOUR_API_KEY"
No Content
Disconnects a channel from the instance. This sets enabled: false in the instance configuration and restarts the gateway. The channel’s saved config is preserved — you can reconnect later without re-entering credentials. No request body is needed.

Authentication

Requires an org-level API key or a scoped token with the channels permission.

Path Parameters

instance_id
string
required
The ID of the instance.
channel
string
required
The channel identifier (e.g. discord, whatsapp).

Response

Returns 204 No Content on success.
curl -X POST https://api.chowder.dev/v1/instances/ins_abc123/channels/discord/disconnect \
  -H "Authorization: Bearer YOUR_API_KEY"
No Content