---
title: "Update an Alert Grouping Setting"
method: PUT
path: "/alert_grouping_settings/{id}"
tags: ["Alert Grouping Settings"]
---

# Update an Alert Grouping Setting

`PUT /alert_grouping_settings/{id}`

Update an Alert Grouping Setting.

The settings part of Alert Grouper service allows us to create Alert Grouping Settings and configs that are required to be used during grouping of the alerts.

if `services` are not provided in the request, then the existing services will not be removed from the setting.

Scoped OAuth requires: `services.write`

## Path parameters

- `id` string, required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Request body

- object
  - `alert_grouping_setting` AlertGroupingSetting, required — unresolved $ref

## Response `200`

The updated Alert Grouping Setting.

- object
  - `alert_grouping_setting` AlertGroupingSetting, required — unresolved $ref

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `404` — The requested resource was not found.

---

[API](https://skmtc.dev/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.dev/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pagerduty/rest-api/revisions/b679a8f3f02c/schema)
