Monitoring
Acknowledge Monitoring Alerts
Acknowledge (mark as seen) one or all monitoring alerts.
POST
Overview
Acknowledge (mark as seen) one or all monitoring alerts for the authenticated customer.
Request
- Method:
POST
- Path:
/monitoring-alerts/acknowledge
- Body: JSON object specifying either a single alert ID or all alerts
Request Body
alertId
(string, optional) - ID of the alert to acknowledgeall
(boolean, optional) - If true, acknowledges all alerts for the customer- Exactly one of
alertId
orall
must be provided
Example Request (single alert)
Example Request (all alerts)
Success Response
- Status: 200 OK
Response Body (single alert)
Response Body (all alerts)
Error Handling
- 400 Bad Request
- Invalid request body or both
alertId
andall
provided - Example:
{ "error": "Either alertId OR all must be provided, but not both" }
- Invalid request body or both
- 404 Not Found
- Alert with specified ID was not found
- Example:
{ "error": "Alert not found" }
- 401 Unauthorized
- Missing or invalid customer authentication
- 500 Internal Server Error
- Unexpected server error
Notes
- Only the owner (customer) may acknowledge their alerts
- Bulk acknowledgment returns the number of alerts updated
Authorizations
Body
application/json
Either alertId OR all must be provided, but not both
Either alertId OR all must be provided, but not both
Either alertId OR all must be provided, but not both
Response
200
application/json
Success
The response is of type object
.