DELETE /api/channels/{id} Permanently delete a channel. This removes the channel and its configuration from the app.

Headers

appid
string
required
Your CometChat App ID.
apikey
string
required
Your CometChat API Key.

Path parameters

id
string
required
The channel ID to delete.

Example request

curl -X DELETE https://{appId}.api-{region}.cometchat.io/v3/business-messaging/api/channels/664a1b2c3d4e5f6a7b8c9d0e \
  -H "appid: YOUR_APP_ID" \
  -H "apikey: YOUR_API_KEY"

Example response

{
  "success": true
}
Deleting a channel is permanent. Templates linked to this channel will lose their template-channel content for this delivery medium.