## Update an admin assignment limit

**patch** `/v2/admins/{id}/assignment-limit`

Updates the admin capacity mode or paused state. mode can be inherit, custom, or unlimited. custom requires limit. Omitted fields keep their current value.

### Path Parameters

- `id: string`

### Header Parameters

- `"Featurebase-Version": optional "2026-08-19.orbit" or "2026-01-01.nova" or "2025-12-12.clover"`

  - `"2026-08-19.orbit"`

  - `"2026-01-01.nova"`

  - `"2025-12-12.clover"`

### Body Parameters

- `limit: optional number`

- `mode: optional "inherit" or "custom" or "unlimited"`

  - `"inherit"`

  - `"custom"`

  - `"unlimited"`

- `paused: optional boolean`

### Returns

- `AssignmentLimit object { adminId, effectiveLimit, limit, 3 more }`

  - `adminId: string`

  - `effectiveLimit: number`

  - `limit: number`

  - `mode: "inherit" or "custom" or "unlimited"`

    - `"inherit"`

    - `"custom"`

    - `"unlimited"`

  - `object: "assignment_limit"`

    - `"assignment_limit"`

  - `paused: boolean`

### Example

```http
curl https://do.featurebase.app/v2/admins/$ID/assignment-limit \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $FEATUREBASE_API_KEY" \
    -d '{}'
```

#### Response

```json
{
  "adminId": "adminId",
  "effectiveLimit": 0,
  "limit": 0,
  "mode": "inherit",
  "object": "assignment_limit",
  "paused": true
}
```
