Auth API
Assign Role To User
Changed onAssign a role to a user.
Args: user_id: The user ID request: AssignRoleRequest with role_name assigned_by: Authenticated user making the request
Returns: UserRoleAssignment with assignment details
post/api/auth/user/{user_id}/roles
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
user_idstring required
Headers
x-osmo-userstring nullable
Request body
Response
Successful Response
Changes
- ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status
- ○
- ○
headerrequest parameterx-osmo-userlist-of-types was widened by adding typesnull - ○
for the
headerrequest parameterx-osmo-user, the type was generalized fromstringto no type
- ○