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

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

## Changes

- **2024-04-03** `93ae2b3f2efd` — 4 info
  - the `active` request property default value `true` was removed
  - the `active_slots` request property default value `0` was removed
  - the `denied_slots` request property default value `0` was removed
  - the `slot_decay_per_second` request property default value `0` was removed

[Change history](https://skmtc.dev/prefecthq/apis/untitled-api-2/changes/api/v2/concurrency_limits/:id_or_name/patch.md)

---

[API](https://skmtc.dev/prefecthq/apis/untitled-api-2.md) · [All operations](https://skmtc.dev/prefecthq/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prefecthq/untitled-api-2/revisions/29ba6c4f8837/schema)
