Update settings
Body
-
additional_yaml_config string
-
delete_unenrolled_agents object
Additional properties are allowed.
-
fleet_server_hosts array[string]
Protocol and path must be the same for each URL
-
has_seen_add_data_notice boolean
PUT /api/fleet/settings
curl \
-X PUT https://localhost:5601/api/fleet/settings \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
"additional_yaml_config": "string",
"delete_unenrolled_agents": {
"enabled": true,
"is_preconfigured": true
},
"fleet_server_hosts": [
"string"
],
"has_seen_add_data_notice": true
}
Response examples (200)
{
"item": {
"delete_unenrolled_agents": {
"enabled": true,
"is_preconfigured": true
},
"fleet_server_hosts": [
"string"
],
"has_seen_add_data_notice": true,
"id": "string",
"prerelease_integrations_enabled": true
}
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}