v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
roles

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" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>

post/roles/moveuser

Headers

Authorizationstring required

Bearer authentication

Request body

userIdstring uuid

The id of the user to be moved to another role.

toRoleIdstring uuid

The id of the role the user should be moved to.

Response

OK

RolesPostRolesMoveUserResponse200 required

Empty response body