---
title: "Update SCIM group"
method: PATCH
path: "/api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}"
tags: ["scim"]
---

# Update SCIM group

`PATCH /api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}`

Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.

## Path parameters

- `name` string, required
- `groupId` string, required

## Request body

- object
  - `schemas` string[], required
  - `Operations` union[], required
    - union
      - object
        - `op` string, required
        - `path` string, required
        - `value` object[]
          - `value` string, required
      - object
        - `op` string, required
        - `path` string
        - `value` unknown, required

## Response `200`

SCIM Group

- object
  - `schemas` string[], required
  - `id` string, required
  - `displayName` string, required
  - `members` object[], required
    - `value` string, required
  - `externalId` string, nullable
  - `meta` object, required
    - `resourceType` 'Group', required
    - `location` string, required

---

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