Create Alert
POST {{baseUrl}}/v1/alert
Get all alerts for current Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
pagination | number greater than 0 | optional | Start paginating result by a given number of items on the page. Next page link is available in the response header Link . E.g.: ; rel="next" |
createdUntil | string | optional | Filter by alert createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). |
archived | boolean | optional | Filter archived/active alerts. Accepted values '0', '1', 'true', 'false' |
Body
Field | Type | Required | Description |
---|---|---|---|
name | string | required | Name of the new alert |
organizationUid | string | required | Uid of organization to which alert will be assigned |
description | string | required | Description of the alert |
alertRuleUid | string | required | Created alert rule that will be assigned to this new alert |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{}