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.

Required Permissions
The user must be an admin.

Path parameters

teamIdUUIDRequired

The team id.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a list of UUIDs.

Response

OK

userIdUUIDOptional

The id of the user.

teamIdUUIDOptional

The id of the team.