Update settings

View as Markdown
PUT /api/fleet/settings

Spaces method and path for this operation:

put /s/{space_id}/api/fleet/settings

Refer to Spaces for more information.

application/json

Body

  • additional_yaml_config string
  • delete_unenrolled_agents object
    Hide delete_unenrolled_agents attributes Show delete_unenrolled_agents attributes object
    • enabled boolean
    • is_preconfigured boolean
  • fleet_server_hosts array[string]

    Protocol and path must be the same for each URL

  • has_seen_add_data_notice boolean

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • item object Required
      Hide item attributes Show item attributes object
      • delete_unenrolled_agents object
        Hide delete_unenrolled_agents attributes Show delete_unenrolled_agents attributes object
        • enabled boolean
        • is_preconfigured boolean
      • fleet_server_hosts array[string] Required Deprecated
      • has_seen_add_data_notice boolean
      • id string Required
      • prerelease_integrations_enabled boolean
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
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}'