Post alert action
This endpoint is used to post an action on an alert.
URL
POST https://{api-url}/api/v2/tenants/{tenantId}/alerts/{alertId}/actions/{action}
Sample URLs
https://{api-url}/api/v2/api/v2/tenants/client_93/alerts/100/actions/acknowledge
https://{api-url}/api/v2/api/v2/tenants/client_93/alerts/100/actions/suppress
https://{api-url}/api/v2/api/v2/tenants/client_93/alerts/100/actions/close
https://{api-url}/api/v2/api/v2/tenants/client_93/alerts/100/actions/unacknowledge
https://{api-url}/api/v2/api/v2/tenants/client_93/alerts/100/actions/unsuppress
Supported action types
Action | Description |
---|
Acknowledge | Accept the ownership of the alert and act upon it. |
Suppress | Temporarily disable the alert. |
Close | Close an incident if the alert has been resolved. |
Unacknowledge | Undo the acknowledge action. |
Unsuppress | Undo the suppress action. |
Note
When unacknowledge or unsuppress is specified,
the alert status becomes either open or ticketed (if there is an incident ID associated with the alert).Sample request
{ "description": "close a ticket" }
Sample response
Null
Note
The response depends on the returned status code.