restapi to add userrole to a user account — Cloud Customer Connect
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

restapi to add userrole to a user account

Summary:

Is there a restapi to add a append userrole to an existing user account?

I used the below api as both patch and post in both cases I am getting 401 unauthorized and api documentation says if I have HR Specialist role I can able to update useraccount but unable to do.

https://{{URL}}/hcmRestApi/resources/11.13.18.05/userAccounts/{{GUID}}/child/userAccountRoles

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

24C


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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