Deleting an Amazon SQS queue - Amazon Simple Queue Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Deleting an Amazon SQS queue

If you no longer use an Amazon SQS queue and don't foresee using it in the near future, we recommend deleting it.

Tip

If you want to verify that a queue is empty before you delete it, see Confirming that a queue is empty.

You can delete a queue even when it isn't empty. To delete the messages in a queue but not the queue itself, purge the queue.

To delete a queue (console)

  1. Open the Amazon SQS console at https://console.amazonaws.cn/sqs/.

  2. In the navigation pane, choose Queues.

  3. On the Queues page, choose the queue to delete.

  4. Choose Delete.

  5. In the Delete queue dialog box, confirm the deletion by entering delete.

  6. Choose Delete.

To delete a queue (Amazon CLIAmazon API)

You can use one of the following commands to delete a queue: