Add and remove detection alert tags
And tags to detection alerts, and remove them from alerts.
You cannot add and remove the same alert tag in the same request.
POST /api/detection_engine/signals/tags
curl \
-X POST https://localhost:5601/api/detection_engine/signals/tags \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
"ids": [
"string"
],
"tags": {
"tags_to_add": [
"string"
],
"tags_to_remove": [
"string"
]
}
}
Response examples (200)
{}
Response examples (400)
Security_detections_api_platformerrorresponse (generated)
{
"error": "string",
"message": "string",
"statusCode": 42
}
{
"message": "string",
"status_code": 42
}
Response examples (401)
{
"error": "string",
"message": "string",
"statusCode": 42
}
Response examples (500)
{
"message": "string",
"status_code": 42
}