v3
latestOpenAPI 3.0.12026-07-31240345599.7 KBHeartbeats
Update heartbeat
Updates the heartbeat with the given name. Name of a heartbeat cannot be changed
patch/api/{cloudId}/v1/teams/{teamId}/heartbeats
Path parameters
teamIdstring required
Identifier of the heartbeat owning team.
Query parameters
namestring required
Name of the heartbeat for identification.
Request body
Example request
{
"description": "It checks whether server is online or not.",
"interval": 5,
"intervalUnit": "minutes",
"enabled": true,
"alertMessage": "HeartbeatName is expired",
"alertTags": [
"critical",
"dns"
]
}Response
Returned if the request is successful.
Example response
{
"name": "Service Heartbeat",
"description": "Heartbeat for checking service health",
"interval": 5,
"intervalUnit": "Days",
"status": "Responsive",
"ownerTeamId": "4b26961a-a837-49d2-a1fe-0973013e3c3b",
"alertMessage": "Service does not respond",
"alertTags": [
"HighPriority",
"Database"
],
"alertPriority": "P2"
}