I am using management API to assign roles to a user.
When i am trying to assign a role 'devadmin' , the API is returning 403 Forbidden error.
And also, when I tried to GET all roles, the response does include 'devadmin' in it.
But while executing the GET role by Id (for id: devadmin), it responds with error 403 Forbidden.
Please help me resolving this issue.
Yes, I have faced the same earlier. you can reassign the same role again using the POST call to add role. Then it will work.
http://<msip>:8080/v1/o/<org>/userroles/<role>/users?id=<mail_id>;
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |