Skip to content
Sign in Create account

Replace SCIM group

PUT /api/scim/v2/Groups/{id}

Replaces displayName and mappedRole for a group in the token's tenant. displayName is required and limited to 255 characters; mappedRole is optional and limited to 64 characters. Returns 404 when the group is not in the tenant.

Authenticate with a SCIM token.

Parameters

  • id integer path required

Request body

application/scim+json object

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

Generated sample

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

Responses

200 Group replaced

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 SCIM bearer token is missing or invalid.

application/json object

  • error string required
    Value: "unauthorized"
  • detail string required
403 The SCIM token lacks the required permission.

application/json object

  • error string required
    Value: "scim_not_configured"
404 SCIM group not found.

application/json object

  • schemas array of string required
  • status string required
    Value: "404"
  • detail string required
422 Invalid group fields.

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 SCIM route rate limit exceeded.

Response headers

  • Retry-After string header
  • X-RateLimit-Scope string header

application/json object

  • error object required
    • code string required
      Value: "too_many_attempts"
    • scope string required
      Value: "route"
    • message string required
    • retry_after_s integer required
      Range: at least 1

text/html string