/api/v0/config/profile/apply

Apply profile to config.

Arguments

  • arg [string]: The profile to apply to the config. Required: yes.

  • dry-run [bool]: print difference between the current config and the config that would be generated. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "NewCfg": {
    "<string>": "<object>"
  },
  "OldCfg": {
    "<string>": "<object>"
  }
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/config/profile/apply?arg=<profile>&dry-run=<value>"


Last updated