I want to dynamically assign Global Role and Specific Application access to a user in Cumulocity globally.But getting 422 status code back.
"error": "usermangement/Invalid Data", "message": "Could not Identify the role referenced by: https://xxxx.cumulocity.com/user/xxxx/groups/14/roles", "info": "https://www.cumulocity.com/guides/reference-guide/#error_reporting"
I am trying to invoke POST method for {{url}}/user/{{tenant}}/users/{{username}}/roles