docs: add user self-deletion guide (#12458)

## Summary
- Add a new guide documenting how to let users delete their own account
via the User v2 API's `DeleteUser` endpoint, gated by the
`user.self.delete` permission (granted via `ORG_USER_SELF_MANAGER`)
- Link the new guide from the self-service concepts page and sidebar
- Add the `ORG_USER_SELF_MANAGER` role to the administrators reference
table

## Test plan
- [x] Verified the new and updated pages render correctly in local dev
(`pnpm dev`)

replaces #12455 and #12457 (branch got renamed from
`docs/human-pat-clarification`, which auto-closed #12457).

Co-authored-by: Rajat Singh <[email protected]>
This commit is contained in:
Rajat Singh
2026-07-16 16:35:44 +00:00
committed by GitHub
co-authored by Rajat Singh
parent 75bc058bce
commit 94ac4237a9
4 changed files with 55 additions and 0 deletions
@@ -121,6 +121,10 @@ The user receives an OTP and can verify control over the given email address.
Users can change their phone number.
The user receives an OTP and can verify control over the given phone number.
### Account deletion
Users with the `user.self.delete` permission (granted via roles such as ORG_USER_SELF_MANAGER or SELF_MANAGEMENT_GLOBAL) can delete their own account. See our [guide on user self-deletion](/guides/manage/user/self-deletion) for details on how to build this into your application.
### Identity providers
Users can create a connection between a [local user account](#local-account) and an [external identity](#existing-identity--sso--social-login).