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.
- Key icon (Credentials): the connection details Principal issued to this person, one per target account.
- Icons for the Principal password and the second factor: rotate the password, generate a reset link, unlock or reset the second factor.
- Pencil icon (Edit user) and trash icon (Delete user).
- Access. Every target this person reaches and the rules that give the access.
- Groups the person belongs to, direct or through a parent group.
- Web applications the person can sign in to through Principal (Kubernetes SSO applications).
- Target accounts. Accounts on targets that belong to this person, including accounts Principal adopted.
- Open the person in People and note their targets in Access and Target accounts.
- In API tokens, choose Actions → Take over on any organization token they own (these stop when the owner leaves).
- 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.
- Reopen their card and click Delete user (trash icon, shown after step 3 finishes for synced users).
- Confirm Delete user (or Remove from N groups and delete for manual groups).
- Only if step 5 failed: open Organizations → People and choose Remove member in their row menu.
- 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 |
Related#
- Screens: Identity details, People, Organizations, Connectors.
- Sync behavior: Connectors.
- API: DELETE
/identities, DELETE/{id} /organizations, POST/{id} /memberships /{identity_id} /connectors./{id} /sync