diff --git a/docs/api/supervisor/endpoints.md b/docs/api/supervisor/endpoints.md index 3bb100ab39c..4e8cc5cf158 100644 --- a/docs/api/supervisor/endpoints.md +++ b/docs/api/supervisor/endpoints.md @@ -278,9 +278,7 @@ Get the add-on logo -Set the protection mode on an add-on. - -This function is not callable by itself and you can not use `self` as the slug here. +Set the options for an add-on. :::tip To reset customized network/audio/options, set it `null`. @@ -298,8 +296,6 @@ To reset customized network/audio/options, set it `null`. | audio_input | float or null | The index of the audio input device | | ingress_panel | boolean | `true` if ingress_panel is enabled | | watchdog | boolean | `true` if watchdog is enabled | -| system_managed | boolean | `true` if managed by Home Assistant | -| system_managed_config_entry | boolean | ID of config entry managing addon | **You need to supply at least one key in the payload.** @@ -321,6 +317,31 @@ To reset customized network/audio/options, set it `null`. + +Change options specific to system managed addons. + +This endpoint is only callable by Home Assistant and not by any other client. + +**Payload** + +| key | type | description | +| --------------------------- | ------------- | --------------------------------------- | +| system_managed | boolean | `true` if managed by Home Assistant | +| system_managed_config_entry | boolean | ID of config entry managing addon | + +**You need to supply at least one key in the payload.** + +**Example payload:** + +```json +{ + "system_managed": true, + "system_managed_config_entry": "abc123" +} +``` + + + Run a configuration validation against the current stored add-on configuration or payload.