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.
The role is changed to ‘observer’ and the user is returned with the new role.
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.