Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Offboard someone who leaves

Close the access of someone who leaves the same day from the console - disable the account so every session ends, check the sessions, two-step sign-in and roles, record what happened, and remove the account later only…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/user-management-from-the-console/offboard-someone-who-leaves.md

On this page

Offboard someone who leaves

Disable the account the same day. Disabling keeps the name in the history of everything the person did.

What you'll have at the end

An account that cannot sign in, with no session left, and a record of its last actions.

Steps

  1. Look at the account.

    ./console exp:user:show jane

    The output lists the groups, roles, active sessions and whether the account is protected.

  2. Disable the account.

    ./console exp:user:disable jane --apply

    The account cannot sign in. All its sessions end.

  3. Check that no session is left.

    ./console exp:user:sessions jane
  4. Remove the passkeys of the account.

    ./console exp:user:2fa jane --remove-passkeys --apply
  5. Remove roles that were assigned to the account itself.

    ./console exp:user:roles list jane
    ./console exp:user:roles unassign Administrator jane --apply

    Roles that come from a group stay with the group.

  6. Keep a copy of the account's recent history, if your policy asks for one.

    ./console exp:user:audit jane --from=2026-01-01 --format=json > var/tmp/jane-audit.json

    Data protection: the file holds personal data. Store it where only the people who need it can read it.

Result

The person has no access. The content the person created stays, with the name.

Later

Remove the account only when nothing refers to it any more, for example after the retention period of your organization (Disable, enable and remove accounts).

When the account must also lose the roles of its groups, use Deactivate and move in the administration (Disable or "Deactivate and move"?).

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x