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

# Create SCIM group

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

Creates a new group in the organization. The group name must be unique within the organization.

## Path parameters

- `name` string, required

## Request body

- object
  - `displayName` string, required
  - `externalId` string
  - `members` object[], required — Array of SCIM user ids
    - `value` string, required

## Response `201`

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

## Other responses

- `409` — Group already exists

## Changes

- **2026-09-08** `bd17546f47b8` — 2 breaking
  - the `meta/resourceType` response's property type changed from no type to `string` for status `201`
  - the `schemas/items/` response's property type changed from no type to `string` for status `201`

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/organizations/:name/scim-provisioning/v2/Groups/post.md)

---

[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.dev/huggingface/apis/hub-api-endpoints/revisions/b88d4a4da99f?raw)
