Disable the history snapshot task

Server: https://{kibana_url}
  • PUT /api/security/entity_store/history_snapshot/disable
  • PUT /s/{space_id}/api/security/entity_store/history_snapshot/disable

Refer to Spaces for more information.

Disable the Entity Store history snapshot task for this space so it no longer creates snapshot indices. Existing snapshot indices remain unless you set clearHistorySnapshots to true. Returns 404 if the Entity Store is not installed in the current space.

[Required authorization] Route required privileges: securitySolution.

Request

clearHistorySnapshots boolean · default: false

When true, deletes existing history snapshot indices for this space in the background after the task is disabled. The response returns immediately and does not wait for deletion to finish. Deletion failures are logged and are not returned to the caller. If the task is already disabled, the request succeeds and does not delete indices. Defaults to false.

Responses

200

Indicates a successful response.

application/json
404

Entity store is not installed.

application/json