Enable the history snapshot task

Base URL
https://{kibana_url}
  • PUT /api/security/entity_store/history_snapshot/enable
  • PUT /s/{space_id}/api/security/entity_store/history_snapshot/enable
Auth

Enable the Entity Store history snapshot task for this space. After a successful enable, Kibana schedules an immediate snapshot run. If that immediate run fails, the response is still 200 and the task remains enabled for the next scheduled interval. If the task is already enabled, the request succeeds and does not start an extra run. Returns 404 if the Entity Store is not installed in the current space.

Required authorization

Privileges securitySolution

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Responses

200

Indicates a successful response.

application/json
404

Entity store is not installed.

application/json
Base URL
https://{kibana_url}