Docs
Live demo

Offboard a person who leaves

Close a departing user's target accounts, console access, API tokens and application sign-in, then verify nothing remains.

On this page

Before you start: Admin role (plus a second factor to take over tokens). Check Sources in People to see if the user is connector-synced or Manual.

Follow the order

Removing a member from the organization leaves target accounts open. Removing them at the identity provider leaves direct rules open.

Swipe the screenshot sideways to see all of it, or tap it to open it full size.

A person opens next to the list. The header holds the actions. The sections below answer who this person is and what they can reach. This screenshot comes from an earlier version of the design: on it Give access is called Assign rule, and the sections are tabs, while in the console they follow one another.
  1. Key icon (Credentials): the connection details Principal issued to this person, one per target account.
  2. Icons for the Principal password and the second factor: rotate the password, generate a reset link, unlock or reset the second factor.
  3. Pencil icon (Edit user) and trash icon (Delete user).
  4. Access. Every target this person reaches and the rules that give the access.
  5. Groups the person belongs to, direct or through a parent group.
  6. Web applications the person can sign in to through Principal (Kubernetes SSO applications).
  7. Target accounts. Accounts on targets that belong to this person, including accounts Principal adopted.
  1. Open the person in People and note their targets in Access and Target accounts.
  2. In API tokens, choose Actions → Take over on any organization token they own (these stop when the owner leaves).
  3. If connector-synced, remove them at the provider (for example GitLab), then open Connectors → the connector and click Run sync now. If Sync requires approval (>10% removed), see Approve a sync.
  4. Reopen their card and click Delete user (trash icon, shown after step 3 finishes for synced users).
  5. Confirm Delete user (or Remove from N groups and delete for manual groups).
  6. Only if step 5 failed: open Organizations → People and choose Remove member in their row menu.
  7. Open each target from step 1 in Resources, click Run discovery and check Roles.

User deleted confirms cleanup started. Principal-created accounts disappear from Roles. Adopted accounts lose rule grants and stay until removed on the target.

When access ends#

Access When it ends
Principal-created DB accounts
When cleanup finishes (open sessions terminated where permitted).
Adopted accounts
Rule grants revoked. Account stays on the target.
Observe-mode targets
Unchanged (Observe targets). Listed under Access left on targets in Observe and Activity.
Console sessions
Immediately on Delete user or Remove member.
Target accounts (Remove member only)
Stay open. Delete the user or rules too.
Personal API tokens
Immediately on Delete user or Remove member.
Organization API tokens
Stop when owner leaves unless taken over (step 2).
Web applications
Group removal ends open sessions. Removed members cannot sign in.
kubectl
Until token expiry (up to a day for Dex group tokens).

If deletion is blocked#

What you see Action
Dialog names a blocker
Fix the blocker, then delete again.
Failed removals list
Fix each cause and click Try again.
Cleanup failed / needs your decision
↑ ↓ to moveEnter to openEsc to close