Initiate Fleet setup

POST /api/fleet/setup

[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • isInitialized boolean Required
    • nonFatalErrors array[object] Required
      Hide nonFatalErrors attributes Show nonFatalErrors attributes object
      • message string Required
      • name string Required
  • 400 application/json
    Hide response attributes Show response attributes object
    • error string
    • errorType string
    • message string Required
    • statusCode number
  • 500 application/json
    Hide response attribute Show response attribute object
    • message string Required
POST /api/fleet/setup
curl \
 --request POST 'https://<KIBANA_URL>/api/fleet/setup' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: true"