- gcloud alpha tasks queues purge - purge a queue by deleting all of its tasks
gcloud alpha tasks queues purge QUEUE [GCLOUD_WIDE_FLAG ...]
(ALPHA) This command purges a queue by deleting all of its tasks. Purge
The queue to purge.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support This variant is also available:
- $ gcloud beta tasks queues purge