Adds the user to the role.
Adds the user to the role. The user is added to the role membership.
Required Permissions
The user must be an admin or have workspace-manage-config:write permissions.Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
roleId
The id of the role.
Request
The user in role form payload.
userId
The id of the user to add to the role.
Response
OK
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error

