Links

Configure environment settings

Included in the basic Tonic API.
You can use the Tonic API to configure selected environment settings. The settings that you can configure are the same settings that are listed on the Environment Settings tab of Tonic Settings.

Identify the settings that you can configure

To identify the settings that you can use the API to configure, use:
For each setting, the response includes the setting name, the current value, and the default value.

Update an environment setting

To update the value of an environment setting, use:
The request body provides the new value.

Restore an environment setting to the default value

For an environment setting that you can configure from the API, the default value is either:
  • The setting value in the .yaml file
  • If the setting is not configured in the .yaml file, the Tonic default value
To restore the default value, use:
Last modified 4mo ago