Update an alert

POST

Update an alert.

Path parameters

organizationIdstringRequired

The ID of the Organization to which the alert belongs to.

alertIdstringRequired

The ID of the alert to update.

Request

This endpoint expects an object.
Update Dag Duration Alert Requestobject
OR
Update Dag Failure Alert Requestobject
OR
Update Dag Success Alert Requestobject
OR
Update Dag Timeliness Alert Requestobject
OR
Update Task Duration Alert Requestobject
OR
Update Task Failure Alert Requestobject

Response

OK

createdAtstring

The time when the alert was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.

createdByobject
entityIdstring

The ID of the entity the alert is associated with.

entityTypeenum
Allowed values: DEPLOYMENTORGANIZATION

The type of entity the alert is associated with.

idstring

The alert’s ID.

namestring

The alert’s name.

organizationIdstring

The ID of the organization the alert is associated with.

rulesobject
severityenum
Allowed values: INFOWARNINGCRITICAL

The alert’s severity.

typeenum

The alert’s type.

updatedAtstring

The time when the alert was last updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.

updatedByobject
deploymentIdstringOptional

The ID of the deployment the alert is associated with.

entityNamestringOptional

The name of the entity the alert is associated with.

notificationChannelslist of objectsOptional

The notification channels to send alerts to.

workspaceIdstringOptional

The ID of the workspace the alert is associated with.

Errors

Built with