> ## Documentation Index
> Fetch the complete documentation index at: https://studio.chat-atp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a schedule

> Patch a schedule

<ParamField path="schedule_id" type="integer" required>
  Schedule ID.
</ParamField>

Pass only the fields you want to change in the JSON body.

## SDK

<CodeGroup>
  ```typescript TypeScript theme={null}
  await client.schedules.update(id, fields);
  ```

  ```python Python theme={null}
  await client.schedules.update(schedule_id, **fields)
  ```
</CodeGroup>
