Delete label
labels_delete_labelDelete a label from Home Assistant's label registry by its ID. Use when a label is no longer needed; returns success status and any error.
Instructions
Delete a label from the label registry.
Calls WS config/label_registry/delete with the given label_id and
returns Home Assistant's result unchanged.
Use when: a label is no longer needed.
Returns: dict with label_id, the raw WS result, and ok (true on
success).
Errors: on a WS failure, returns {"label_id": ..., "ok": false, "error": "<message>"} instead of raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | Label registry ID to delete; obtain it from labels_list_labels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||