Hierarchy

  • PatchUserResource

Constructors

Properties

Constructors

Properties

A list of patch operations.

Updating the user to deactivated/reactivated,
{ "op": "Replace", "path": "active", "value": "true/false" } must be provided in the Operations array.

Renaming the user,
{ "op": "Replace", "path": "displayName", "value": "New displayName" } must be provided in the Operations array.

Upgrading userType (license) to Full,
{ "op": "Replace", "path": "userType", "value": "Full" } must be provided in the Operations array. Note that userType (license) cannot be downgraded using this operation.

Updating userName of the user,
{ "op": "Replace", "path": "userName", "value": "oleg@test.com" } must be provided in the Operations array.

Updating userRole of the user, { "op": "Replace",
"path": "roles[primary eq true].value", "value": "ORGANIZATION_INTERNAL_ADMIN" must be provided in the Operations array. Note that ORGANIZATION_INTERNAL_ADMIN and ORGANIZATION_INTERNAL_USER are the only supported primary user roles and guest roles are not supported.

Adding an admin role,
{ "op": "Add", "path": "roles", "value": [{"value": "Content Admin", "type": "organization_admin_role", "primary": false}]} must be provided in the Operations array.

Removing an admin role,
{ "op": "Remove", "path":"roles[value eq \"Content Admin\"]" } must be provided in the Operations array.

Updating department of the user,
{ "op": "Replace", "path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department", "value": "IT" } must be provided in the Operations array. Similarly, attributes such as employeeNumber, costCentre, organization, division, manager (displayName and value) can also be updated.

schemas: string[]

Identifies which schema(s) this resource used. In this case, identifies the request as a SCIM PatchOp.