Change User Role
Admin - Users
Change User Role
Updates a user’s role.
POST
Change User Role
Documentation Index
Fetch the complete documentation index at: https://docs.tensormesh.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication using an access token. Format: Bearer <access_token>
Body
application/json
ChangeUserRoleRequest is the request for updating a user's role.
The unique ID of the operator user.
The unique ID of the user to update.
UserRole defines the roles a user can have within the system.
- USER_ROLE_UNSPECIFIED: Unspecified user role.
- USER_ROLE_USER: Standard user role.
- USER_ROLE_ADMIN: Administrator user role.
- USER_ROLE_SUPER_ADMIN: Super administrator user role with highest privileges.
Available options:
USER_ROLE_UNSPECIFIED, USER_ROLE_USER, USER_ROLE_ADMIN, USER_ROLE_SUPER_ADMIN Response
A successful response.
ChangeUserRoleResponse is the response for updating a user's role.
User represents a user profile in the system.

