Skip to main content

Create an alert

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

Creates a new alert definition.

Requires the following permissions:

  • alerts:UpdateConfig

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json

A request to create a new alert definition

    accessPolicy#string

    The access policy for the alert as a raw JSON string. Optional; requires the alerts:UpdateAccessPolicy permission to set. If omitted, the alert is created without an access policy.

    Possible values: <= 65536 characters, Value must match regular expression ^[\s\S]*$

    The properties of the alert definition

Response

application/json

A response that contains the newly created alert definition

    The newly created alert definition