System
System configure
patch/system/config
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Auth-Tokenstring required
Request body
Example request
{
"config": {
"new_service_policy_mode": "Discover",
"unused_group_aging": 123,
"syslog_ip_proto": 6,
"syslog_port": 514,
"syslog_level": "INFO",
"syslog_in_json": true,
"single_cve_per_syslog": true,
"auth_by_platform": true,
"webhooks": [
{
"name": "slack-webhook",
"url": "https://neuvector.slack.com/archives/C8AU75GKE",
"enable": true,
"type": "Slack",
"cfg_type": "user_created"
}
],
"cluster_name": "cluster1",
"controller_debug": [
"all"
],
"monitor_service_mesh": true,
"registry_http_proxy_status": true,
"registry_http_proxy": {
"username": "username",
"password": "password"
},
"registry_https_proxy": {
"username": "username",
"password": "password"
}
},
"fed_config": {
"new_service_policy_mode": "Discover",
"unused_group_aging": 123,
"syslog_ip_proto": 6,
"syslog_port": 514,
"syslog_level": "INFO",
"syslog_in_json": true,
"single_cve_per_syslog": true,
"auth_by_platform": true,
"webhooks": [
{
"name": "slack-webhook",
"url": "https://neuvector.slack.com/archives/C8AU75GKE",
"enable": true,
"type": "Slack",
"cfg_type": "user_created"
}
],
"cluster_name": "cluster1",
"controller_debug": [
"all"
],
"monitor_service_mesh": true,
"registry_http_proxy_status": true,
"registry_http_proxy": {
"username": "username",
"password": "password"
},
"registry_https_proxy": {
"username": "username",
"password": "password"
}
}
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.