Abort an options flow
integrations_abort_options_flowCancel an unfinished Home Assistant options flow to discard unapplied option edits, leaving existing options unchanged.
Instructions
Abort an options flow that has not been finished yet.
Calls DELETE /api/config/config_entries/options/flow/{flow_id}. The
entry's existing options are untouched, since nothing was applied by an
unfinished flow.
Use when: cancelling an options edit started by mistake or no longer
wanted.
Not for: cancelling a new-integration setup flow instead — use
integrations_abort_config_flow.
Returns: HA's abort response for the flow.
Errors: raises httpx.HTTPStatusError if flow_id is unknown or
already finished.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | Flow id from `integrations_start_options_flow`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||