# Update an export rule
Source: https://docs.file.ai/api-reference/exports/update-an-export-rule

> Changes the fields you send and keeps the rest. The integration cannot change; create a new rule instead.

patch /prod/v1/export-rules/{ruleId}

Changes the fields you send and keeps the rest. The integration cannot change; create a new rule instead.

Set autoExport to false to pause the rule. `options`, when sent, replaces the saved settings as a whole and must match the integration's `optionsSchema`.

A body with only autoExport set to false just pauses the rule, as the app
toggle does, so it works even when the integration is disconnected.
Resuming runs the same checks as any other change.
