Skip to main content
Replace an alert definition

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

A request to replace an existing alert definition

accessPolicy
Access policy action · object

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.

alertDefProperties
Alert definition properties · object

The properties of the alert definition

id
string

Alert definition ID

Maximum string length: 36
Pattern: ^[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

A response that contains the updated alert definition

alertDef
Alert definition · object

The updated alert definition