post https://{workspace}.glassix.com/api/v1.2/users/setroles
This endpoint updates the roles of an existing user.
This endpoint overrides all existing roles and replaces them with the new ones.
The access token of the user which performs the request must have an admin role.
One of the following roles is always required:
- SystemUser
- DepartmentAdmin
- DataControler
- MasterUser
- ReadOnly