DELETE
/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.jsonDelete an empty queue
Deletes an empty queue from an account. Provide the owning account identifier in AccountSid and the queue identifier in Sid to select the resource. The operation returns no response body after the queue is deleted.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
AccountSidstringrequired
The account SID that created the queue. Must be a 34-character value matching `^AC[0-9a-fA-F]{32}$`.
Sidstringrequired
The unique queue SID to delete. Must be a 34-character value matching `^QU[0-9a-fA-F]{32}$`.
204Returns no content after the empty queue is deleted successfully.
Error handling
AccountSid must be a 34-character account SID matching the AC prefix format, and Sid must be a 34-character queue SID matching the QU prefix format. The selected queue must be empty before you attempt deletion.