ACC-46Recommended
Remove access when someone leaves
When a member leaves or is removed, end their access to that organisation and keep the work they made there. Do it within the limit in end sessions when access changes.
How to do it
Delete the membership and revoke their API keys, app grants and shared links for that organisation. Leave their other organisations alone. Keep their records, shown under their name as a former member. Hand records that need an owner, such as scheduled reports, to someone the admin picks. Let any member leave on their own, unless they are the last owner. For staff, remove access within a day of leaving.
How to check
Remove a signed-in test member. Within 60 seconds, their next request to the organisation answers 403 or 404, their API key gets 401, and their documents are still there.
Sources
Related rules
- ACC-29 End sessions when access changes in Accounts and identity
- ACC-33 Let organisation owners sign a member out in Accounts and identity
- ACC-38 Apply removed roles within the revocation limit in Accounts and identity
- ACC-44 Never leave an organisation without an owner in Accounts and identity
- CMP-30 Remove access within a day of leaving in Compliance and governance
- ACC-61 Remove access when the directory says so in Accounts and identity
- NTF-36 Check the recipient may still see the item when you send in Notifications
- PRC-15 Count seats from active members and check them at invite in Pricing, plans and entitlements
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/accounts/organisations-and-teams/member-removal">Agent Wranglers accounts and identity playbook</a>. In code you write, add a comment next to it with the same link.