Skip to main content
PUT
/
v1
/
heartbeats
/
{id}
Update a heartbeat
curl --request PUT \
  --url https://api.rootly.com/v1/heartbeats/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "type": "heartbeats",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "alert_summary": "<string>",
      "alert_description": "<string>",
      "alert_urgency_id": "<string>",
      "interval": 123,
      "interval_unit": "minutes",
      "notification_target_id": "<string>",
      "notification_target_type": "User",
      "enabled": true
    }
  }
}
'
{
  "data": {
    "id": "06677e79-37e7-4ca1-9adb-a813679025d2",
    "type": "heartbeats",
    "attributes": {
      "slug": "quam-optio-praesentium-minus",
      "name": "api.rootly.com",
      "description": "This is a description",
      "alert_summary": "API is down",
      "alert_description": "Updated runbook: Check /docs/updated-troubleshooting",
      "alert_urgency_id": "9c13d0fc-5959-49b7-954d-22510f7b3e66",
      "interval": 10,
      "interval_unit": "minutes",
      "notification_target_id": "500",
      "notification_target_type": "User",
      "ping_url": "http://localhost:3001/v1/heartbeats/06677e79-37e7-4ca1-9adb-a813679025d2/ping",
      "secret": "heartbeat_a60ef09508e1b2c51abeda29147c188dd3fe3ce446078c593d04702518fecca5",
      "email_address": "[email protected]",
      "last_pinged_at": null,
      "expires_at": null,
      "enabled": false,
      "status": "waiting",
      "updated_at": "2026-02-11T08:16:29.259-08:00",
      "created_at": "2026-02-11T08:16:21.417-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Resource UUID

Body

application/vnd.api+json
data
object
required

Response

heartbeat updated

data
object
required