Context:
I am trying to change an existing user role from āuserā to āobserverā via Update User API: https://developer.pagerduty.com/api-reference/ce6799fc6191a-update-a-user
I am able to create new users with the āobserverā role via API but in this case Iād like to update an existing user.
As the first step I get a user (and it works fine): in user.role = user.
Then I change it user.role = observer and call the Update API.
Expected behaviour:
The role is changed to āobserverā and the user is returned with the new role.
Witnessed behaviour:
It seems the role is not changed as the user is returned with the āuserā role via API and shown as āManagerā on the web.