Remove a config entry
integrations_remove_integrationPermanently uninstall a Home Assistant integration by deleting its config entry with explicit confirmation. Use when you want to fully remove an integration, not just disable it.
Instructions
Remove (uninstall) an integration's config entry after an explicit confirmation.
Calls DELETE /api/config/config_entries/entry/{entry_id} — there is no
config_entries/remove WebSocket command. HA unloads the integration
and deletes its entry; any devices/entities it owned typically go with
it. Without confirm=True nothing is removed.
Use when: an integration is no longer wanted and should be fully
uninstalled, not just disabled.
Not for: keeping the entry but pausing it — use
integrations_disable_integration.
Returns: HA's removal result when confirmed, otherwise a confirmation
prompt.
Errors: returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is false; raises
httpx.HTTPStatusError if entry_id does not exist.
Limits: requires confirm=True; deletes the entry and its
devices/entities with no separate backup step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to actually remove the integration. False (default) performs no action and instead returns a confirmation prompt. | |
| entry_id | Yes | Config entry ID to remove, from `system_list_integrations` or `system_get_all_integrations`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||