Update a health check alert
Update a health check alert.
Endpoint
PUT /healthcheck/v1/healthchecks/{uuid}/alerts/{id}
Parameters
| Name | Location | Required | Type | Default value | Description |
|---|---|---|---|---|---|
uuid | URL | Yes | string | The health check uuid | |
id | URL | Yes | integer | The alert id | |
| Body | Yes | InputHealthcheckAlert | The 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"
}
}