The deleteQueue() method removes the queue from the service.
You must use the identifier received from createQueue() when
calling deleteQueue().
Example 87. Deleting a queue
<?php
$queueId = $queues->createQueue('my-queue');
// ... do stuff ...
$queues->deleteQueue($queueId);
Note
Deleting a queue can take significant time for some services. Typically, you cannot re-create a queue with the same name until the original queue is fully removed.




