Moves a user from their current role to another role.
Moves a user from their current role to another role.
At least one user needs to remain in the admin role.
<Check title="Required Permissions">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The model to change the project of the task.
userId
The id of the user to be moved to another role.
toRoleId
The id of the role the user should be moved to.
Response
OK