# Set child concurrency limit (/docs/api-reference/reseller/setChildConcurrency)

> Set the maximum number of simultaneous calls a child organization can run. Slots come from the reseller's shared pool. Increasing the limit deducts the delta from your pool and fails if you don't have enough slots. Decreasing the limit returns the delta to your pool immediately.



> **Reseller accounts only.** [Request access](https://omnidim.io/contact-us?reason=partnership\&lock=1).

**POST** `/reseller/concurrency`

Set the maximum number of simultaneous calls a child
organization can run. Slots come from the reseller's shared
pool. Increasing the limit deducts the delta from your pool
and fails if you don't have enough slots. Decreasing the
limit returns the delta to your pool immediately.

```yaml
operationId: setChildConcurrency
requestBody:
  required: true
  content:
    application/json:
      schema:
        type: object
        required:
          - child_organization_id
          - new_limit
        properties:
          child_organization_id:
            type: integer
            description: ID of the child organization to update.
          new_limit:
            type: integer
            description: The desired absolute concurrent call limit (must be `>= 0`).
      example:
        child_organization_id: 4002
        new_limit: 5
responses:
  '200':
    description: Concurrency limit updated.
    content:
      application/json:
        schema:
          type: object
          properties:
            success:
              type: boolean
            message:
              type: string
            child_limit:
              type: integer
              description: The child organization's new concurrent call limit.
            reseller_available:
              type: integer
              description: Slots remaining in the reseller's shared pool.
          example:
            success: true
            message: Concurrency limit updated successfully.
            child_limit: 5
            reseller_available: 7
```

**curl**

```bash
curl -X POST "https://backend.omnidim.io/api/v1/reseller/concurrency" \
  -H "Authorization: Bearer $OMNIDIM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "child_organization_id": 4002,
  "new_limit": 5
}'
```
