Skip to main content

Replace an alert definition

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

Updates an existing alert definition.

Requires the following permissions:

  • alerts:UpdateConfig

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json

A request to replace an existing alert definition

    Change to the alert's access policy: upsert a raw policy, or delete (remove) the existing one. Optional; if omitted, the existing policy is left unchanged. Changing the access policy requires the alerts:UpdateAccessPolicy permission.

    The properties of the alert definition

    id#string

    Alert definition ID

    Possible values: <= 36 characters, Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

    Example: 123e4567-e89b-12d3-a456-426614174000

Response

application/json

A response that contains the updated alert definition

    The updated alert definition