> ## 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 an automation

> Patch a automation

<ParamField path="automation_id" type="integer" required>
  Automation ID.
</ParamField>

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

## SDK

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

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