---
title: "Get a SCIM group"
method: GET
path: "/api/organizations/{name}/scim/v2/Groups/{groupId}"
tags: ["scim"]
---

# Get a SCIM group

`GET /api/organizations/{name}/scim/v2/Groups/{groupId}`

Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.

## Path parameters

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

## Query parameters

- `excludedAttributes` 'members'

## Response `200`

SCIM Group

- object
  - `schemas` string[], required
  - `id` string, required
  - `displayName` string, required
  - `members` object[]
    - `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/ad6b88076d44/schema)
