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
idinteger path required
Request body
application/scim+json object
displayNamestring requiredLength: 1 to 255 charactersmappedRolestring or nullLength: at most 64 characters
Generated sample
{
"displayName": "string",
"mappedRole": "string"
}Responses
200 Group replaced
application/json ScimGroupResource
displayNamestring requiredexternalIdstring or null requiredidstring requiredmappedRolestring or null requiredmetaobject requiredcreatedstring (date-time) or null requiredlastModifiedstring (date-time) or null requiredlocationstring (uri) requiredresourceTypestring requiredValue:"Group"
schemasarray 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
errorstring requiredValue:"unauthorized"detailstring required
403 The SCIM token lacks the required permission.
application/json object
errorstring requiredValue:"scim_not_configured"
404 SCIM group not found.
application/json object
schemasarray of string requiredstatusstring requiredValue:"404"detailstring required
422 Invalid group fields.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 SCIM route rate limit exceeded.
Response headers
Retry-Afterstring headerX-RateLimit-Scopestring header
application/json object
errorobject requiredcodestring requiredValue:"too_many_attempts"scopestring requiredValue:"route"messagestring requiredretry_after_sinteger requiredRange: at least 1
text/html string