---
title: "POST /v2/{+name}:purge"
method: POST
path: "/v2/{+name}:purge"
tags: ["projects"]
---

# POST /v2/{+name}:purge

`POST /v2/{+name}:purge`

Purges a queue by deleting all of its tasks. All tasks created before this method is called are permanently deleted. Purge operations can take up to one minute to take effect. Tasks might be dispatched before the purge takes effect. A purge is irreversible.

## Path parameters

- `name` string, required

## Request body

- PurgeQueueRequest — Request message for PurgeQueue.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/cloudtasks.md) · [All operations](https://skmtc.dev/google/apis/cloudtasks/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/cloudtasks/revisions/3995e88b763e/schema)
