DELETE/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json

Delete an empty queue

Deletes an empty queue from an account. Use AccountSid and Sid to identify the account and queue; the queue must be empty before you remove it.

2 parameters
AccountSidstringrequired
The account SID, in the format `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The queue SID, in the format `QU` followed by 32 hexadecimal characters.

1 status code
204Returns no response body after the queue is deleted.

Error handling

The AccountSid path parameter must be a 34-character account SID beginning with AC followed by 32 hexadecimal characters, and the Sid path parameter must be a 34-character queue SID beginning with QU followed by 32 hexadecimal characters. The queue must be empty to be deleted.