User Groups V3
Create User Group
Use this API to create a user group. 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 Enhanced SCIM Integration that leverages Group Provisioning to manage access for users by provisioning them to one or more user groups. For more information, see SCIM User & Group Provisioning.
post/api/scim/v3/Groups
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": "Test Group",
"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"
}
}Response
Created
Group created successfully.
Example response
{
"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": "Test Group",
"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"
}
}