Spaces method and path for this operation:
put /s/{space_id}/api/fleet/settings
Refer to Spaces for more information.
PUT
/api/fleet/settings
curl \
--request PUT 'https://localhost:5601/api/fleet/settings' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"additional_yaml_config": "string",
"delete_unenrolled_agents": {
"enabled": true,
"is_preconfigured": true
},
"fleet_server_hosts": [
"string"
],
"has_seen_add_data_notice": true
}'