Assign a role to a user
PUT/roles/:roleId/users/:username
Assigns a role to a user.
Request
Responses
- 202
- 400
- 403
- 404
- 409
- 500
The role was assigned successfully to the user.
The provided data is not valid.
Forbidden. The request is not allowed.
The role or user with the given ID or username was not found.
The role is already assigned to the user with the given ID.
An internal error occurred while processing the request.