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

## Changes

- **2024-04-03** `93ae2b3f2efd`: 2 info
  - the `description` request property default value `` was removed
  - the `priority` request property default value `1` was removed

[Operation history](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/changes/api/work_queues/:id/patch.md)

---

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