Adds users to a team.

POST

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

teamIdstringRequired

The team id.

Request

This endpoint expects a list of strings.

Response

OK

userIdstringOptional

The id of the user.

teamIdstringOptional

The id of the team.