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

# POST /v2/{+name}:pause

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

Pauses the queue. If a queue is paused then the system will stop dispatching tasks until the queue is resumed via ResumeQueue. Tasks can still be added when the queue is paused. A queue is paused if its state is PAUSED.

## Path parameters

- `name` string, required

## Request body

- PauseQueueRequest — Request message for PauseQueue.

## 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)
