Update a heartbeat group

Rename, reorder, or pause a heartbeat group. Only provide the fields you want to change.

PATCH https://incidents.betterstack.com/api/v3/heartbeat-groups/{id}
id string required

The ID of the heartbeat group to update.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

Content-Type string

application/json

name string

Group name.

sort_index integer or null

The position of the group in your list of heartbeat groups, lower values first. null when no position was set.

paused boolean

Whether every heartbeat in the group is paused, false when the group has none. Send true to pause every heartbeat in the group or false to resume them. Accepted on create, but has no effect there.

200

Returns the updated heartbeat group.

200 OK
{
  "data": {
    "id": "123456789",
    "type": "heartbeat_group",
    "attributes": {
      "name": "Backend services 2",
      "sort_index": 0,
      "paused": false,
      "created_at": "2020-09-18T17:20:42.514Z",
      "updated_at": "2020-09-18T17:21:27.251Z",
      "team_id": "t123",
      "team_name": "Test team"
    }
  }
}
401

The API token is missing or invalid.

401 Unauthorized
{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403

The token is read-only, your role doesn't include Manage on Monitors, heartbeats, integrations, or the token can't be used for this API. Unpausing would put the organization over the number of heartbeats its plan includes.

403 Forbidden
{
  "errors": "Heartbeat quota reached. Please upgrade your account to unpause the heartbeats in this group."
}
404

The heartbeat group doesn't exist, or the token can't access it.

422

The request failed validation, a field is unknown or missing, a value isn't supported, or a feature your plan doesn't include was set.

429

Another change to the organization's heartbeat quota is in progress. Try again.

id string

The ID of the heartbeat group.

type string

Always heartbeat_group.

name string

Group name.

sort_index integer or null

The position of the group in your list of heartbeat groups, lower values first. null when no position was set.

paused boolean

Whether every heartbeat in the group is paused, false when the group has none.

created_at datetime

When the group was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the group was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

Team that owns this heartbeat group, such as t123.

team_name string

Name of the team that owns this heartbeat group.

Example cURL

Change name only
curl --request PATCH \
  --url https://incidents.betterstack.com/api/v3/heartbeat-groups/95251342 \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "name": "Backend services 2"
}'