Skip to main content
Bulk delete alert definitions
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/alerts/alerts/v3/all/delete \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
'
{
  "deletedIds": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "notFoundIds": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

A request to delete multiple alert defintions by their IDs

ids
string[]
Example:
["123e4567-e89b-12d3-a456-426614174000"]

Response

A response to the bulk deletion of alert definitions. The operation is atomic - either all alerts are deleted or none are.

deletedIds
string[]

IDs of alert definitions that were successfully deleted

Example:
["123e4567-e89b-12d3-a456-426614174000"]
notFoundIds
string[]

IDs of alert definitions that were not found

Example:
["123e4567-e89b-12d3-a456-426614174000"]