Remove a member
remove_memberRemoves a member from the organization, or revokes a pending invitation. Mirrors Remove from organization and Revoke invitation on Settings › Members; needs Owner or Admin, removing an Owner needs an Owner, and the last Owner is refused. Their sessions end at once; keys they minted keep working. Destructive: call without confirm first, put the sentence it answers to the person, and pass confirm: true only if they agree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | True only once the person has agreed to the removal. | |
| memberId | Yes | The member's or invitation's id, as list_members returns it. |