Use the following API request to update the AMSI module server configuration settings.
Request
HTTP Verb | Path | Parameters |
|---|---|---|
PUT | hx/api/services/config/tree | ?node_name=/config/amsi |
Request Headers
Header Property | Value |
|---|---|
Content-Type | application/json |
X-FeApi-Token | {{ random token string }} |
The request body contains a JSON object with a data property containing an array of JSON objects for each configuration setting to update. The following example updates the logging level setting to info:
Request Body
{
"data": [
{
"default_value": "notice",
"name": "/config/amsi/logging/level",
"type": "string",
"value": "info"
}
]
}