Update a team member
update_team_memberDestructiveIdempotent
Changes a team member's settings (teamMemberId from list_team_members): their timezone, role, how much notice they need before a booking (leadTimeMinutes), the travel gap kept around each of their bookings (travelBufferMinutes), or whether their name is hidden from callers (isInternalOnly). Only the fields given are changed. Only the account owner can change a role or isInternalOnly. Before calling, tell the user who is being changed and how, and get their explicit yes; then pass confirm: true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| confirm | Yes | true only after the user has explicitly approved this specific change in the conversation | |
| timezone | No | IANA timezone, e.g. Australia/Perth | |
| teamMemberId | Yes | From list_team_members | |
| isInternalOnly | No | ||
| leadTimeMinutes | No | Minutes from now before their next booking is allowed | |
| travelBufferMinutes | No | Minutes kept free before and after each booking; 0 turns it off |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invited | No | ||
| message | Yes | ||
| success | Yes | ||
| _environment | Yes | The Nexwin country and environment that supplied the result | |
| teamMemberId | No |