v2

latestOpenAPI 3.1.0CC-BY-SA 2.02026-07-2617789528.6 KB
Settings

Set the value of a setting

Set the current value of a specific setting

post/settings/{settingId}

Path parameters

settingIdstring required
Example:global_policy_mode

Id of the setting to set

Request body

valuestring

New value of the setting

Example request

{
  "value": "enforce"
}

Response

Settings

idstring required

Id of the setting

result'success' | 'error' required

Result of the request

action'modifySetting' required

The id of the action

Example response

{
  "id": "global_policy_mode",
  "data": {
    "settingId": "allowed_networks"
  }
}