---
title: "Update Work Queue"
method: PATCH
path: "/api/work_queues/{id}"
tags: ["Work Queues"]
---

# Update Work Queue

`PATCH /api/work_queues/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

Updates an existing work queue.

## Path parameters

- `id` string, uuid, required: The work queue id

## Headers

- `x-prefect-api-version` string

## Request body

- WorkQueueUpdate: Data used by the Prefect REST API to update a work queue.
  - `name` string
  - `description` string
  - `is_paused` boolean: Whether or not the work queue is paused.
  - `concurrency_limit` integer
  - `priority` integer
  - `last_polled` string, date-time
  - `filter` QueueFilter: Filter criteria definition for a work queue.
    - `tags` string[]: Only include flow runs with these tags in the work queue.
    - `deployment_ids` string[]: Only include flow runs from these deployments in the work queue.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/prefecthq/apis/prefect-versions-api.md) - [All operations](https://skmtc.dev/prefecthq/apis/prefect-versions-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prefecthq/apis/prefect-versions-api/revisions/a7958ce57e96?raw)
