Update User Role
PUT/api/v1/tenant-admin/users/:user_id/role
Change a user's role within the tenant.
Only accessible by tenant owners. Available roles are:
- user: Standard user with basic access
- admin: Tenant admin with management capabilities
To transfer the owner role, use the transfer-ownership endpoint instead.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successful Response
Cannot change own role or invalid role
Unauthorized
Owner role required
User not found in tenant
Validation Error
Server error