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

> Set the maximum number of simultaneous calls a client can run. new_limit is the absolute figure you want, not a change to the current one.

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

**POST** `/reseller/concurrency`

Set the maximum number of simultaneous calls a client can run.
`new_limit` is the absolute figure you want, not a change to the
current one.

Assigning is free: any figure is accepted, nothing is deducted from
you, and this call never fails for lack of capacity.

It does not create capacity, though. Your own concurrent call limit is
the ceiling for your whole account family at dial time, so what you set
here is a per-client cap, and your own limit is the capacity those caps
compete for. Assign a client more than you hold and the extra simply
cannot be dialed.

```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: |
                Your own concurrent call limit, which is the shared
                dial-time ceiling for your whole family. Assigning to
                clients does not draw it down.
          example:
            success: true
            message: Concurrency limit updated successfully.
            child_limit: 5
            reseller_available: 7
```

**Python SDK**

```python
from omnidimension import Client
client = Client(api_key)

# The absolute number, not a change to the current one. Assigning
# is free; your own limit is the capacity these caps compete for.
response = client.reseller.set_concurrency(child_organization_id=5678, new_limit=5)
print(response)
```

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