Moves a user to another role.

Moves a user to another role. The user keeps workspace access under the new role. <Check title="Required Permissions" icon="key">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

The move user in role payload.
userIdstringOptionalformat: "uuid"
The id of the user to be moved to another role.
toRoleIdstringOptionalformat: "uuid"
The id of the role the user should be moved to.

Response

OK

Errors

400
Bad Request Error
404
Not Found Error