---
title: "Create a Group"
method: POST
path: "/Groups"
tags: ["Groups"]
---

# Create a Group

`POST /Groups`

## Request

- Base URL: `https://ironcladapp.com/scim/v2`
- URL: `https://ironcladapp.com/scim/v2/Groups`
- Auth: API key in header `Authorization`

Documentation on creating a Group via SCIM. 

**OAuth Scope required:** `scim.groups.createGroups`

## Query parameters

- `excludedAttributes` string

## Headers

- `x-as-user-email` string
- `x-as-user-id` string

## Request body

- object
  - `schemas` string[], required
  - `displayName` string, required: The name you want to give the group in Ironclad.
  - `members` object[]
    - `value` string, required: The unique id of the user. User Ids can be found by filtering the Retrieve all Users endpoint.

## Response `201`

201 Created

- GroupResponseObject
  - `schemas` string[], required
  - `displayName` string: The name of the group.
  - `id` string, required: The group's identifier.
  - `externalId` string: An optional identifier of the group sourced from the identity provider.
  - `members` object[]: The list of users who are members of this group.
    - `type` 'User': The type of member for this group. This is usually 'User'.
    - `value` string: The user's identifier.
  - `meta` object: Metadata for the group.
    - `resourceType` 'Group': Type of the SCIM resource. In this case: 'Group'.
    - `location` string, https-url: The URI of the Group resource being returned.

## Other responses

- `400`: 400 Bad Request
- `403`: 403 Forbidden
- `409`: 409 Conflict
- `500`: 500 Internal Server Error

---

[API](https://skmtc.dev/ironcladapp/apis/ironclad-scim-api.md) - [All operations](https://skmtc.dev/ironcladapp/apis/ironclad-scim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ironcladapp/apis/ironclad-scim-api/revisions/ee9d1adddc38?raw)
