- [HTTP request](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update#body.request_body)
- [Response body](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update#body.aspect)
- [Try it!](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update#try-it)

Replace the data for the specified group. Fails if the group does not exist.

### HTTP request

Choose an endpoint:
global us africa-south1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-northeast3 asia-south1 asia-south2 asia-southeast1 asia-southeast2 asia-southeast3 australia-southeast1 australia-southeast2 europe-central2 europe-north1 europe-north2 europe-southwest1 europe-west1 europe-west10 europe-west12 europe-west2 europe-west3 europe-west4 europe-west6 europe-west8 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast1 northamerica-northeast2 northamerica-south1 southamerica-east1 southamerica-west1 us-central1 us-east1 us-east4 us-east5 us-south1 us-west1 us-west2 us-west3 us-west4   
`PUT https://clouderrorreporting.googleapis.com/v1beta1/{group.name=projects/*/groups/*}`

<br />

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `group.name` | `string` The group resource name. Written as `projects/{projectID}/groups/{groupId}` or `projects/{projectID}/locations/{location}/groups/{groupId}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `groupId` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `https://www.googleapis.com/auth/stackdriver-integration`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).