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