latestOpenAPI 3.0.32026-08-10234358.4 KB

3d5d69795558

Teams

Add multiple users to team

Add multiple users to the specified team in a single operation

post/user-service/teams/{teamId}/members/bulk

Request body

user_idsstring[] required

Array of user IDs to add to the team

skip_existingboolean

Skip users that are already in the team instead of returning error

Response

Users added to team successfully

messagestring
added_usersstring[]

User IDs that were successfully added

skipped_usersstring[]

User IDs that were skipped (already in team)

Example response

{
  "message": "Users added to team successfully"
}