Delete a channel
DELETE
/org/{tenant_code}/v2/messaging/channels/{channelId}
Platform support: MT
Token Cost: 2 tokens (low)
Deletes the channel. A facebook or whatsapp channel is first
deregistered from the CMP service. An email channel that is used as the
leave-message form of a queue cannot be deleted.
Deleting is idempotent: a channel that does not exist is reported as deleted.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
Channel deleted (no body).
Missing or invalid X-User-Identity header.
Messaging module is not activated in license and the grace period is over.
Unknown tenant.
The email channel is used as the leave-message form of a queue. The details list the queues that reference it.
Unhandled server-side error, including a failed deregistration from the CMP service.