Skip to main content

Update a health check alert

Update a health check alert.

Endpoint

PUT /healthcheck/v1/healthchecks/{uuid}/alerts/{id}

Parameters

NameLocationRequiredTypeDefault valueDescription
uuidURLYesstringThe health check uuid
idURLYesintegerThe alert id
BodyYesInputHealthcheckAlertThe alert

Responses

The updated HealthcheckAlert object.

Example Request

PUT /healthcheck/v1/healthchecks/38ebd5bb-6a16-44e2-be31-90e1e0250b73/alerts/10
Content-Type: application/json
Body
{
"type": "EMAIL",
"recipients": [
"customer@nameshield.com"
]
}

Example Response

{
"message": "OK",
"data": {
"id": "10",
"type": "EMAIL",
"recipients": [
"customer@nameshield.com"
],
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": "DOE John",
"modified_at": "2024-07-29T15:51:28.071Z",
"modified_by": "DOE John"
}
}