You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SCIM API usage to bulk update roles for multiple users

Received Response
30
Views
3
Comments
edited Jul 27, 2020 6:14PM in Applications Security 3 comments

Summary

Trying to update the SCIM API to bulk update roles but it doesn't work

Content

Using the below URI in endpoint 

https://<pod-name>.fa.<Datacenter>.oraclecloud.com

Resource:

/hcmRestApi/scim/Roles

 

Using PATCH methond and using the below JSON but it doesn't work

 

{
"Operations":[
{
"method":"PATCH",
"path":"/Roles/ENTER_ROLE_GUID_HERE",
"bulkId":"clientBulkId1",
"data": {
"members": [
{
"value": "ENTER_USER_GUID_HERE",
"operation": "REMOVE"
}]
}
},
{
"method":"PATCH",
"path":"/Roles/ENTER_ROLE_GUID_HERE",
"bulkId":"clientBulkId1",
"data": {
"members": [
{
"value": "ENTER_USER_GUID_HERE",
"operation": "ADD"
}]
}
}
]
}

 

Getting the below error

 

html>
   <head>
      <meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/>

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!