---
title: "Save new value for on-demand concurrency cap"
method: POST
path: "/api/v2/synthetics/settings/on_demand_concurrency_cap"
tags: ["Synthetics"]
---

# Save new value for on-demand concurrency cap

`POST /api/v2/synthetics/settings/on_demand_concurrency_cap`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/synthetics/settings/on_demand_concurrency_cap`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Save new value for on-demand concurrency cap.

## Request body

- OnDemandConcurrencyCapAttributes: On-demand concurrency cap attributes.
  - `on_demand_concurrency_cap` number, double: Value of the on-demand concurrency cap.

## Response `200`

OK

- OnDemandConcurrencyCapResponse: On-demand concurrency cap response.
  - `data` OnDemandConcurrencyCap: On-demand concurrency cap.
    - `attributes` OnDemandConcurrencyCapAttributes: On-demand concurrency cap attributes.
      - `on_demand_concurrency_cap` number, double: Value of the on-demand concurrency cap.
    - `type` 'on_demand_concurrency_cap': On-demand concurrency cap type.

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
