Cleanup the Risk Engine Beta

DELETE /api/risk_score/engine/dangerously_delete_data

Cleaning up the the Risk Engine by removing the indices, mapping and transforms

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    Successful response

    Hide response attribute Show response attribute object
  • 400 application/json; Elastic-Api-Version=2023-10-31

    Task manager is unavailable

    Hide response attributes Show response attributes object
  • default application/json; Elastic-Api-Version=2023-10-31

    Unexpected error

    Hide response attributes Show response attributes object
DELETE /api/risk_score/engine/dangerously_delete_data
curl \
 -X DELETE https://localhost:5601/api/risk_score/engine/dangerously_delete_data
Response examples (200)
{
  "cleanup_successful": true
}
Response examples (400)
{
  "message": "string",
  "status_code": 42
}
Response examples (default)
{
  "cleanup_successful": false,
  "errors": [
    {
      "error": "string",
      "seq": 42
    }
  ]
}