Update status page group

Update the attributes of an existing status page group. Send only the parameters you wish to change (e.g., name).

PATCH https://uptime.betterstack.com/api/v2/status-page-groups/{status_page_group_id}

URL parameters

status_page_group_id
required string

Headers

Authorization
required string
Content-Type
string

Body parameters

name
string
sort_index
integer
200

Response body

{
  "data": {
    "id": "1372854",
    "type": "status_page_group",
    "attributes": {
      "name": "Production Pages (Renamed)",
      "sort_index": 0,
      "created_at": "2024-11-07T11:33:24.408Z",
      "updated_at": "2024-11-08T10:05:00.000Z",
      "team_name": "Test Team"
    }
  }
}

Example cURL

Example
curl --request PATCH \
  --url https://uptime.betterstack.com/api/v2/status-page-groups/1372854 \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Production Pages (Renamed)",
  "sort_index": 0
}'