---
title: "Update Concurrency Limit V2"
method: PATCH
path: "/api/v2/concurrency_limits/{id_or_name}"
tags: ["Concurrency Limits V2"]
---

# Update Concurrency Limit V2

`PATCH /api/v2/concurrency_limits/{id_or_name}`

## Request

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

## Path parameters

- `id_or_name` union, required: The ID or name of the concurrency limit
  - string, uuid
  - string

## Headers

- `x-prefect-api-version` string

## Request body

- ConcurrencyLimitV2Update: Data used by the Prefect REST API to update a v2 concurrency limit.
  - `active` boolean
  - `name` string
  - `limit` integer
  - `active_slots` integer
  - `denied_slots` integer
  - `slot_decay_per_second` number

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