Skip to content

Deactivate a departing person's account

Before you begin

You need
  • An instance administrator account on the installation

When someone leaves the organisation, an instance administrator deactivates their account: it can no longer sign in by any method, and everything it held ends at once, while what it owns stays where it is.

  1. Open Admin → Users.

  2. Find the account, for example by typing its address in Search email.

  3. In the account’s row, open its more actions menu, named More actions for and the address, and select Deactivate account.

  4. Confirm with Deactivate.

A message says Account deactivated, and the account’s row is tagged Deactivated. From that moment:

  • It cannot sign in, with its password, GitHub or Google, or a sign-in link. A sign-in answers Account deactivated once the password or provider has proved who it is.
  • Everything it held ends for good: every session, password reset and sign-in link, its personal tokens and the AI assistants it connected. Reactivating the account does not bring these back.
  • What it owns stays: its workspaces, its memberships and roles, what it created in them, and the machine tokens it created, which belong to their workspaces. Revoke those under the workspace’s Settings → Tokens if they should stop too.
  • On a self-hosted installation, it frees its licence seat, so another account can be added.

Deactivating an account that is already deactivated changes nothing.

The refusal stays on the page, above the list, until you dismiss it. Its message says what to change first:

Message Why
This account cannot be deactivated yet. "<workspace>" has <n> other members. Transfer ownership or remove them first. The account is the only Owner of a workspace other people share, which would be left without one. One sentence names each such workspace. Make another member an Owner, or remove the others
This is the last administrator who can sign in. Make another account an administrator first. The installation would have no instance administrator left to sign in

For a personal workspace, the message says Remove them first., because a personal workspace cannot change hands. A workspace whose only member is the account does not stop it.

  1. Open Admin → Users.

  2. In the account’s row, open its more actions menu and select Reactivate account.

A message says Account reactivated, and the account can sign in again as before: with the same password, linked providers and two-factor authentication. Its workspaces and roles are as they were left. On a self-hosted installation, reactivating takes a licence seat again, and is refused with Licence seats taken when none is free.

  • Neither action is offered on your own account. Another instance administrator deactivates yours.
  • Deactivation is not deletion. The account’s address stays taken, and its data stays. Deleting an account is its owner’s own step; see Delete your account.
  • Nothing is sent. The person is not emailed when their account is deactivated or reactivated.
  • No single sign-on removes them for you. MockHub does not follow a directory: when someone leaves, deactivate their account here, and revoke their access to GitHub or Google sign-in at the provider as usual.
  • On a self-hosted installation with no licence in force, deactivating still works, so a lapsed licence never keeps a departing person signed in. Reactivating takes a licence seat, so it is refused with Licence required until a licence is installed.

Report a problem with this page