Update settings

PUT /settings
application/json; Elastic-Api-Version=2023-10-31

Body

Responses

PUT /settings
curl \
 -X PUT https://localhost:5601/settings \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "additional_yaml_config": "string",
  "fleet_server_hosts": [
    "string"
  ],
  "has_seen_add_data_notice": true
}
Response examples (200)
{
  "item": {
    "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
}