Skip to main content
Create an alert

Authorizations

Authorization
string
header
required

API key authentication

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.

Maximum string length: 65536
Pattern: ^[\s\S]*$
alertDefProperties
Alert definition properties · object

The properties of the alert definition

Response

A response that contains the newly created alert definition

alertDef
Alert definition · object

The newly created alert definition