Remove a team member
remove_team_memberDestructive
PERMANENTLY removes a team member (teamMemberId from list_team_members) from the connected Nexwin account. If they have a login it is deleted, so they can no longer sign in, and their connected calendars are disconnected. Cannot be undone; they would have to be invited again. The account owner cannot be removed, and nobody can remove themselves. Before calling, tell the user exactly who will be removed and that their sign-in is deleted, and get their explicit yes; then pass confirm: true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | true only after the user has explicitly confirmed removing this specific person in the conversation | |
| teamMemberId | Yes | From list_team_members |
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 |