Pular para o conteúdo

Delete Channel

DELETE
/api/v1/channels/{channel_id}

Delete a channel.

This will also delete all conversations and messages associated with the channel. For legacy WhatsApp sessions (Sprint 21), pass is_legacy=true. For WhatsApp channels, also removes the user from WuzAPI.

channel_id
required
Channel Id
integer
is_legacy
Is Legacy

Whether this is a legacy WhatsApp session

boolean

Whether this is a legacy WhatsApp session

x-tenant-id
Any of:
integer

Successful Response

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string