---
title: "POST /api/v3/accounts/{account_id}/scim/v2/Groups"
method: POST
path: "/api/v3/accounts/{account_id}/scim/v2/Groups"
tags: ["SCIM Endpoints"]
---

# POST /api/v3/accounts/{account_id}/scim/v2/Groups

`POST /api/v3/accounts/{account_id}/scim/v2/Groups`

## Request

- Base URL: `https://cloud.getdbt.com`
- URL: `https://cloud.getdbt.com/api/v3/accounts/{account_id}/scim/v2/Groups`
- Auth: HTTP bearer

Create a group via SCIM

## Path parameters

- `account_id` integer, required

## Request body

- CreateOrReplaceGroupSCIMRequestRequest: Base class for all request payloads. It is expected that each endpoint extends this class to define its own payload format
  - `schemas` string[], required: The SCIM schema of the request
  - `externalId` string: The external ID of the group
  - `displayName` string, required: The display name of the group
  - `members` GroupMemberComponent[]: The members of the group
    - `value` string, required: The ID of the member
    - `display` string, required: The display name of the member

## Response `200`

- DetailGroupSCIMResponse
  - `status` Status
    - `code` integer
    - `is_success` boolean
    - `user_message` string
    - `developer_message` string
  - `data` GroupSCIM, required
    - `id` string, required: The ID of the group
    - `externalId` string: The external ID of the group
    - `displayName` string, required: The display name of the group
    - `members` GroupMemberComponent[]: The members of the group
      - `value` string, required: The ID of the member
      - `display` string, required: The display name of the member
    - `meta` MetaComponent, required: Base class for all request payloads. It is expected that each endpoint extends this class to define its own payload format
      - `resourceType` string, required: The resource type of the metadata
      - `location` string, required: The location of the resource
      - `created` string: The date and time the resource was created
      - `lastModified` string: The date and time the resource was last modified
    - `schemas` unknown[]
      - unknown
  - `extra` object
  - `error_code` integer

## Changes

- **2026-10-06** (v3) `7d5c1b4c8d8a`: 1 breaking
  - for the `path` request parameter `account_id`, the format changed from no format to `int64`
- **2026-07-31** (v3) `37bb0fa479da`: 1 info
  - added the media type `application/json` to the request body
- **2026-06-25** (v3) `93b6139c8ec5`: 2 info
  - api tag `SCIM Endpoints` added
  - api tag `SCIM Endpoints - In Beta` removed

[Operation history](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/changes/api/v3/accounts/:account_id/scim/v2/Groups/post.md)

---

[API](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2.md) - [All operations](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/revisions/2448b375ac2f?raw)
