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

teamIdstringRequiredformat: "uuid"
The team id.

Headers

AuthorizationstringRequired

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

Request

The ids of users to add.

Response

OK
userIdstring or nullformat: "uuid"
The id of the user.
teamIdstring or nullformat: "uuid"
The id of the team.