Keyturn docsHow-to guides

Offboard someone in one step

Lock the person out at once with a Deny List group, then let AdminP remove them from the Directory, ACLs, groups and fields. --wait waits for AdminP and reads the Directory back.

keyturn user delete "Elena Petrova/Sales/Acme" --mail all --deny-group Terminations --dry-run
keyturn user delete "Elena Petrova/Sales/Acme" --mail all --deny-group Terminations --yes --wait
user delete dry run
Dry run: what it would do, nothing sent.
code prompt before the first change
The code is asked before the first change. Enter with no code cancels.
user delete done
Done: "names.nsf re-read: the Person document is gone."
  • --mail keep|home|all keeps the mail file (the default), deletes it on the mail server, or deletes every replica.
  • --vault inactive|delete|keep handles the person's ID in the ID vault.
  • Faster lock-out first: user deny-access add, session drop, user lockout clear for Internet lockouts.
  • Track AdminP: request list, request wait ID, request approve ID (mail-file deletions wait for approval; --until-gone waits until AdminP has deleted the file).
  • A list of leavers: user deny-access add --targets leavers.txt, then user delete --targets leavers.txt --yes.