Delete an alerts index
Server:
https://{kibana_url}
- DELETE /api/detection_engine/index
- DELETE /s/{space_id}/api/detection_engine/index
Refer to Spaces for more information.
Permanently deletes the Elastic Security alerts backing index in the current space, including the alerts
stored in it. Use with caution; prefer lifecycle policies or the UI when available.
Call GET /api/detection_engine/index first to confirm the index that will be removed.
Responses
Successful response
-
acknowledgedbooleanrequired
Unsuccessful authentication response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Not enough permissions response
-
messagestringrequired -
status_codeintegerrequired
Index does not exist response
-
messagestringrequired -
status_codeintegerrequired
Internal server error response
-
messagestringrequired -
status_codeintegerrequired