v1

latestSwagger 2.02026-07-1798126172.4 KB
Configuration

Sets and returns user configuration

For keys present in the payload, it will set or remove the user config values (if the key is null). Changes are persisted to the config file.

post/config/user

Request body

dataobject

Example request

{
  "data": {
    "data": {
      "access-policy": {
        "list": "mysterium"
      },
      "openvpn": {
        "port": 5522
      }
    }
  }
}

Response

User configuration

dataobject

Example response

{
  "data": {
    "data": {
      "access-policy": {
        "list": "mysterium"
      },
      "openvpn": {
        "port": 5522
      }
    }
  }
}