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

# Update Work Queue

`PATCH /api/work_queues/{id}`

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.net/prefecthq/apis/untitled-api-2.md) · [All operations](https://skmtc.net/prefecthq/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prefecthq/untitled-api-2/revisions/29ba6c4f8837/schema)
