Groups V2
Modify Group
Use this API to partially update SCIM group details and/or SCIM group membership. This API should only be used when provisioning and managing users from your Identity Provider using the System for Cross-Domain Identity Management (SCIM) standard to facilitate the automated creation of user identities from a third-party identity management application.
🗒 Things to Know
- This API supports OneTrust's Legacy SCIM Integration that leverages SCIM groups, which are unique role-organization combinations that each represent a specific role within a particular organization. For more information, see Legacy SCIM User Provisioning.
- When a user is added as a member of a SCIM group, the user is provisioned with that specific role-organization combination. If the user belongs to other SCIM groups, the user will still retain existing membership with those groups as users can be assigned to multiple roles and multiple organizations.
patch/api/scim/v2/Groups/{groupId}
Path parameters
groupIdstring uuid required
ID that uniquely identifies the SCIM group. The groupId can be obtained using the [Get List of Groups] (/onetrust/reference/listgroupsusingget) API.
Request body
Example request
{
"id": "aeb3d45d-0c05-4ff0-b635-6e3c3b2f86ea",
"externalId": "3PNdoRZES0GLfV+9y1dDwQ==",
"meta": {
"created": "2022-05-27T15:28:14.298Z",
"lastModified": "2022-05-27T15:28:14.298Z",
"location": "/api/scim/v3/Users/53b1325c-081f-4f05-b41b-ba8cbdb7bae9",
"version": "W/\"f0f2a936\"",
"attributes": [
[
"active",
"emails",
"userName"
]
],
"resourceType": "Group"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"displayName": "Administrators",
"members": [
{
"value": "3da9fe38-7845-4658-a96e-00071fa20c2e",
"$ref": "/api/scim/v3/Users/1bd418b2-85dd-4f04-955f-e4870e119ef1\""
}
],
"urn:ietf:params:scim:schemas:onetrust:Group": {
"category": "HR",
"description": "HR User Group"
},
"Operations": [
{
"op": "add",
"path": "members",
"displayName": "Admin Group",
"members": [
{
"value": "3da9fe38-7845-4658-a96e-00071fa20c2e",
"$ref": "/api/scim/v3/Users/1bd418b2-85dd-4f04-955f-e4870e119ef1\""
}
]
}
]
}Response
OK
Group members updated successfully.