Delete a messaging queue
DELETE
/org/{tenant_code}/v2/messaging/queues/{queueId}
Platform support: MT
Token Cost: 2 tokens (low)
Deletes the queue together with its members and operation times. The default queue cannot be deleted, and neither can a queue that still has open tickets or is used as a destination by a channel or a chatbot.
Deleting is idempotent: a queue that does not exist is reported as deleted.
Request
Responses
- 204
- 400
- 401
- 404
- 409
- 500
Queue deleted (no body).
The default queue cannot be deleted.
Missing or invalid X-User-Identity header.
Unknown tenant.
The queue has open tickets, or it is used as a destination. The details list the endpoints and chatbots that reference it.
Unhandled server-side error.