Ungroup incidents

Remove incidents from an incident group, as Ungroup does in the incidents list. Leave out incident_ids to remove every incident. A group left with one incident or none dissolves, and the response is empty.

POST https://incidents.betterstack.com/api/v6/incident-groups/{id}/ungroup

URL parameters

id
required string

Query parameters

team_id
string

Headers

Authorization
required string
Content-Type
string

Body parameters

incident_ids
array of strings
200

Response body

{
  "data": {
    "id": "123456789",
    "type": "incident_group",
    "attributes": {
      "name": "Checkout 502s",
      "incidents_count": 3,
      "started_at": "2026-11-21T22:04:11.000Z",
      "acknowledged_at": "2026-11-21T22:09:30.000Z",
      "acknowledged_by": {
        "name": "John Smith",
        "email": "john@example.com"
      },
      "team_id": "t123",
      "team_name": "Production"
    }
  }
}
204
401

Response body

{
  "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

Response body

{
  "errors": "This API token is read-only and cannot be used for write operations."
}
404
409
422

Response body

{
  "errors": "These incidents aren't in incident group 98765: 103"
}
503

Response attributes

id
string
type
string
name
string or null
incidents_count
integer
started_at
datetime
acknowledged_at
datetime or null
acknowledged_by
object or null
acknowledged_by.name
string
acknowledged_by.email
string or null
team_id
string
team_name
string

Example cURL

Ungroup incidents Ungroup the whole group
curl --request POST \
  --url https://incidents.betterstack.com/api/v6/incident-groups/98765/ungroup \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "incident_ids": [
    "123458"
  ]
}'
curl --request POST \
  --url https://incidents.betterstack.com/api/v6/incident-groups/98765/ungroup \
  --header "Authorization: Bearer $TOKEN"