Spaces method and path for this operation:
delete /s/{space_id}/api/risk_score/engine/dangerously_delete_data
Refer to Spaces for more information.
Cleaning up the the Risk Engine by removing the indices, mapping and transforms
DELETE
/api/risk_score/engine/dangerously_delete_data
curl \
--request DELETE 'https://<KIBANA_URL>/api/risk_score/engine/dangerously_delete_data' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"cleanup_successful": true
}
Response examples (400)
{
"message": "Task Manager is unavailable, but is required by the risk engine. Please enable the taskManager plugin and try again.",
"status_code": 400
}
Response examples (default)
{
"cleanup_successful": false,
"errors": [
{
"error": "Risk engine is disabled or deleted already.",
"seq": 1
}
]
}