Adds users to a team.
Returns the created user in team entities.
Throws BadRequestException if user ids are null or empty.
Throws IllegalOperationException if users fetched from ids failed, returned no users or misses a user from the userIds.
<Check title="Required Permissions">The user must be an admin.</Check>
Path parameters
teamId
The team id.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The ids of users to add.
Response
OK
userId
The id of the user.
teamId
The id of the team.