Assign a user to a role
PUT/roles/:roleId/users/:username
Assigns a user to a role.
Request
Responses
- 202
- 400
- 403
- 404
- 409
- 500
The user was assigned successfully to the role.
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 user with the given ID is already assigned to the role.
An internal error occurred while processing the request.