---
title: "Update an attribute for a SCIM enterprise group"
method: PATCH
path: "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}"
tags: ["enterprise-admin"]
---

# Update an attribute for a SCIM enterprise group

`PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}`

Update a provisioned group’s individual attributes.

To modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.

You can submit group memberships individually or in batches for improved efficiency.

> [!NOTE]
> Memberships are referenced via a local user id. Ensure users are created before referencing them here.

## Path parameters

- `scim_group_id` string, required
- `enterprise` string, required

## Request body

- PatchSchema
  - `Operations` object[], required — patch operations list
    - `op` 'add' | 'replace' | 'remove', required
    - `path` string
    - `value` string — Corresponding 'value' of that field specified by 'path'
  - `schemas` string[], required

## Response `200`

Success, group was updated

## Other responses

- `204` — Response
- `400` — Bad request
- `401` — Authorization failure
- `403` — Permission denied
- `404` — Resource not found
- `409` — Duplicate record detected
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/github/apis/ghec.md) · [All operations](https://skmtc.net/github/apis/ghec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghec/revisions/8ae6d0c8716e/schema)
