Skip to content
Sign in Create account

Create SCIM group

POST /api/scim/v2/Groups

Creates a group for the tenant identified by the SCIM bearer token. displayName is required and limited to 255 characters; externalId is optional and limited to 255 characters; mappedRole is optional and must match a role configured by the gateway. Returns the created SCIM Group resource with HTTP 201.

Authenticate with a SCIM token.

Request body

application/scim+json object

  • displayName string required
    Length: 1 to 255 characters
  • externalId string or null
    Length: at most 255 characters
  • mappedRole string or null

    Must match a role name in the gateway's RBAC role configuration.

    Length: at most 64 characters

Generated sample

{
  "displayName": "string",
  "externalId": "string",
  "mappedRole": "string"
}

Responses

201 Group created

application/json ScimGroupResource

  • displayName string required
  • externalId string or null required
  • id string required
  • mappedRole string or null required
  • meta object required
    • created string (date-time) or null required
    • lastModified string (date-time) or null required
    • location string (uri) required
    • resourceType string required
      Value: "Group"
  • schemas array of string required

Generated sample

{
  "displayName": "string",
  "externalId": "string",
  "id": "string",
  "mappedRole": "string",
  "meta": {
    "created": "2026-01-01T00:00:00Z",
    "lastModified": "2026-01-01T00:00:00Z",
    "location": "https://example.com",
    "resourceType": "Group"
  },
  "schemas": [
    "string"
  ]
}
401 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

403 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 Invalid group fields or mappedRole.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string