<- Team API

Team API

Bulk update team members

POST

 /v2/team-members/bulk-update

Updates multiple TeamMember objects.

The updated TeamMember objects are returned on successful updates. This process is non-transactional and processes as much of the request as possible. If one of the updates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed update. Learn about Troubleshooting the Team API.

Permissions:EMPLOYEES_WRITE
Try in API Explorer
Link to section

Request body

Example code

Link to section

team_members

Required

The data used to update the TeamMember objects. Each key is the team_member_id that maps to the UpdateTeamMemberRequest. The maximum number of update objects is 25.

Link to section

Response fields

Link to section

team_members

The successfully updated TeamMember objects. Each key is the team_member_id that maps to the UpdateTeamMemberRequest.

Link to section

errors

The errors that occurred during the request.