# chiefOfStaff.schedules.update

Pause or resume one of the Chief of Staff's scheduled posts. A paused post skips its turns and resumes at its next one, without catching up. Only the platform owner's workspace has a Chief of Staff. Administrator access required.

`POST /api/v1/accounting/chiefOfStaff.schedules.update`

Permissions: `accounting:read`, `accounting:write`, `accounting:admin` · Roles: admin · Idempotency key required · Send `expectedRevision`

MCP tool: `accounting_chief_of_staff_schedules_update`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `jobId` | string | Yes | A scheduled post, from chiefOfStaff.status. Matches ^[a-z0-9][a-z0-9-]{0,63}$. |
| `paused` | boolean | Yes |  |
| `expectedRevision` | integer |  | The revision you last read: 0 for something never saved. A different revision means someone else changed it first. 0 to 9007199254740990. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/chiefOfStaff.schedules.update \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "jobId": "example",
  "paused": true
}'
```

Reference page: https://app.getoatmilk.com/docs/api/chiefOfStaff.schedules.update
