Menu
Amazon Simple Queue Service
Developer Guide

Tutorial: Purging Messages from an Amazon SQS Queue

If you don't want to delete an Amazon SQS queue but need to delete all the messages from it, you can purge the queue. The following example demonstrates purging a queue.

AWS Management Console

  1. Sign in to the AWS Management Console and open the Amazon SQS console at https://console.aws.amazon.com/sqs/.

  2. From the queue list, select a queue.

  3. From the Queue Actions drop-down list, select Purge Queue.

    The Purge Queues dialog box is displayed.

  4. Choose Yes, Purge Queue.

    All messages are purged from the queue.

    The Purge Queues confirmation dialog box is displayed.

  5. Choose OK.