Skip to main content

Bulk replace alert definitions

PUThttps://api.coralogix.com/mgmt/openapi/5/alerts/alerts/v3/all/replace

Replaces multiple alert definitions in a single request. Each entry updates the existing alert definition with the matching ID; alert definitions not referenced in the request are left unchanged. The operation is best-effort - entries that fail are reported in the response and do not prevent other entries from being applied. Limited to 100 alert definitions per request.

Requires the following permissions:

  • alerts:UpdateConfig

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json

A request to bulk replace multiple alert definitions

    List of alert definitions to replace. Limited to 100 alert definitions per request.

    Possible values: <= 100

Response

application/json

A response that contains the results of the bulk replace operation

    List of successfully replaced alert definitions

    Possible values: <= 100

    List of alert definitions that failed to be replaced

    Possible values: <= 100

    notFoundIds#string[]

    List of alert definition IDs that were not found

    Possible values: <= 100

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

    List of alert definition IDs that were skipped (no changes detected)

    Possible values: <= 100

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