roles

Moves a user to another role.

Changed on

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>

post/roles/moveuser

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/roles/moveuser
  • Auth: HTTP bearer

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

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PostRolesMoveUser removed and replaced with roles_PostRolesMoveUser