Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.42 KB

bulk-update-team-members-request.md

File metadata and controls

56 lines (47 loc) · 1.42 KB

Bulk Update Team Members Request

Represents a bulk update request for TeamMember objects.

Structure

BulkUpdateTeamMembersRequest

Fields

Name Type Tags Description
teamMembers Record<string, UpdateTeamMemberRequest> Required The data used to update the TeamMember objects. Each key is the team_member_id that maps to the UpdateTeamMemberRequest.

Example (as JSON)

{
  "team_members": {
    "AFMwA08kR-MIF-3Vs0OE": {
      "team_member": {
        "assigned_locations": {
          "assignment_type": "ALL_CURRENT_AND_FUTURE_LOCATIONS"
        },
        "email_address": "[email protected]",
        "family_name": "Smith",
        "given_name": "Jane",
        "is_owner": false,
        "phone_number": "+14159223334",
        "reference_id": "reference_id_2",
        "status": "ACTIVE"
      }
    },
    "fpgteZNMaf0qOK-a4t6P": {
      "team_member": {
        "assigned_locations": {
          "assignment_type": "EXPLICIT_LOCATIONS",
          "location_ids": [
            "YSGH2WBKG94QZ",
            "GA2Y9HSJ8KRYT"
          ]
        },
        "email_address": "[email protected]",
        "family_name": "Doe",
        "given_name": "Joe",
        "is_owner": false,
        "phone_number": "+14159283333",
        "reference_id": "reference_id_1",
        "status": "ACTIVE"
      }
    }
  }
}