Identity & platformscim
POST/scim/v2/organizations/{group_id}/Groups
Create a team the identity provider keeps.
create_scim_group
Public
This operation declares no security requirement: it takes no token.Audited · mutation
x-gitmoap-audit: {"kind":"audited","arg":"mutation"}
Quota · teams per org
x-gitmoap-quota: {"kind":"enforced","arg":"teams_per_org"}
The team takes the group's display name (1–100 characters) and the members it lists; its external id defaults to the name. A member who has not signed in yet, or is de-provisioned, is kept on the roster and takes their place on the team once they are active and signed in. A team at its member limit seats nobody new, though everyone named stays on the roster, and a member id that is not a person provisioned for this organization is skipped. Teams count toward the organization's team limit.
Parameters
Path
- group_idGroupId (string · uuid)The organization's top-level group
Request body
application/json- displayNamestring
- externalIdstring or nulloptional
- idstring or nulloptional
membersarray of ScimMemberRefoptional
- The ScimMemberRef schema
- valuestringThe id of the user or group.
- displaystring or nulloptional
metaScimMeta or nulloptional
- The ScimMeta schema
- createdstring · date-time
- lastModifiedstring · date-time
- locationstring
- resourceTypestring
- schemasarray of stringoptional
Request body exampleSynthesized example
{
"displayName": "displayName-ce7e"
}
Responses
201The groupapplication/json
- displayNamestring
- externalIdstring or nulloptional
- idstring or nulloptional
membersarray of ScimMemberRefoptional
- The ScimMemberRef schema
- valuestringThe id of the user or group.
- displaystring or nulloptional
metaScimMeta or nulloptional
- The ScimMeta schema
- createdstring · date-time
- lastModifiedstring · date-time
- locationstring
- resourceTypestring
- schemasarray of stringoptional
201 exampleSynthesized example
{
"displayName": "displayName-e465",
"externalId": "externalId-d9e0",
"id": "id-c53d",
"members": [
{
"value": "value-a707"
},
{
"value": "value-c923"
}
],
"meta": {
"created": "2026-10-17T03:12:50Z",
"lastModified": "2026-10-13T23:24:03Z",
"location": "location-f106",
"resourceType": "resourceType-1b4c"
},
"schemas": [
"schemas-e2d5",
"schemas-43b1"
]
}
400An invalid groupapplication/json
Error codes
- BAD_REQUESTThe request is malformed: a parameter or a body field is not a well-formed value of its type
- detailstring
- schemasarray of string
- statusstringThe HTTP status code, written as text, as the SCIM protocol requires.
- scimTypestring or nulloptional
400 exampleSynthesized example
{
"detail": "detail-e806",
"schemas": [
"schemas-a076"
],
"status": "status-f223"
}
401No valid SCIM token of this organizationapplication/json
Error codes
- UNAUTHORIZEDNo credential was sent, or the one sent is invalid, expired or revoked
- detailstring
- schemasarray of string
- statusstringThe HTTP status code, written as text, as the SCIM protocol requires.
- scimTypestring or nulloptional
401 exampleSynthesized example
{
"detail": "detail-c563",
"schemas": [
"schemas-f20e"
],
"status": "status-e3e2"
}
409A group with that name or externalId existsapplication/json
Error codes
- CONFLICTThe request conflicts with the resource's current state;
reasonsays how
- detailstring
- schemasarray of string
- statusstringThe HTTP status code, written as text, as the SCIM protocol requires.
- scimTypestring or nulloptional
409 exampleSynthesized example
{
"detail": "detail-22bc",
"schemas": [
"schemas-be97"
],
"status": "status-eff0"
}
429The organization holds as many teams as it mayapplication/json
Error codes
- TOO_MANY_REQUESTSRetryableA quota, a rate limit or a transfer budget is spent. When the response carries
Retry-After, retry after that many seconds
- detailstring
- schemasarray of string
- statusstringThe HTTP status code, written as text, as the SCIM protocol requires.
- scimTypestring or nulloptional
429 exampleSynthesized example
{
"detail": "detail-446f",
"schemas": [
"schemas-1ece"
],
"status": "status-4995"
}
CLI
gitmoap scim create-scim-group
- --group-ididThe organization's top-level group (id or group path)
- --displayNamestring
- --externalIdstringoptional
- --idstringoptional
- --membersjsonoptional
- --metajsonoptional
- --schemasjsonoptional