Initiate Fleet setup
- Base URL
-
https://{kibana_url}
- POST /api/fleet/setup
- POST /s/{space_id}/api/fleet/setup
Initialize Fleet and create the necessary Elasticsearch resources for Fleet to operate. Safe to call multiple times (idempotent). Returns the initialization status and any non-fatal errors encountered during setup.
Required privileges
fleet-agents-read
or
fleet-agent-policies-read
or
fleet-settings-read
or
fleet-setup
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Responses
Fleet setup completed
Bad Request