Ana içeriğe geç

Users

The tenant's staff roster (team members). Read-only listing for assignee pickers and team views; readable by any authenticated staff member. Member management (role / status / removal) is admin-only.

📄️Remove a member (admin only) — they become a former member

ADMIN-ONLY. The seat is NOT deleted (doc 100): it becomes a former member (status `removed`) so messages, notes and calls keep their author, while sign-in, tokens, devices, permissions, departments, routing and the seat on the plan all go, and the workspace leaves the account's switcher. The owner and the last active admin are protected (422). `mailbox_action` decides the member's personal mailbox: `archive` (default — switched off and sealed: nobody sees it, admins included, until the workspace owner hands it over or deletes it), `hand_over` (to `mailbox_target_user_id`, an active member without a mailbox; 422 on that field otherwise), or `delete` (the mailbox and its conversations; the real mailbox at the provider is untouched). A former member is never route-bound, so a second DELETE is 404.