Abort a config flow
integrations_abort_config_flowAbort an unfinished Home Assistant config flow to discard its in-progress state when cancelling a setup started by mistake.
Instructions
Abort a config flow that has not been finished yet.
Calls DELETE /api/config/config_entries/flow/{flow_id}. Nothing was
persisted by an unfinished flow, so this discards only the flow's
in-progress state, not a config entry.
Use when: cancelling a setup that was started by mistake or is no
longer wanted.
Not for: removing a completed integration — use
integrations_remove_integration.
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_config_flow` or `integrations_list_flows_in_progress`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||