Explore documentation

Update an existing severity group

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

PATCH https://uptime.betterstack.com/api/v2/urgency-groups/:urgency_group_id

URL parameters

urgency_group_id
required string

Headers

Authorization
required string
Content_Type
string

Body parameters

name
string
sort_index
integer
200

Response body

{
  "data": {
    "id": "1234567",
    "type": "urgency_group",
    "attributes": {
      "name": "Example",
      "sort_index": null,
      "created_at": "2020-10-03T20:20:43.547Z",
      "updated_at": "2020-10-03T20:20:43.547Z",
      "team_name": "Testing"
    }
  }
}

Example cURL

Example
curl --request PATCH \
  --url https://uptime.betterstack.com/api/v2/urgency-groups/1234567 \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Example"
}'