Do not put user deletion credentials or privileged deletion flows in a client app.
SDK Availability
Recommended Workflow
1
Authorize the request
Verify the requester is allowed to delete or deactivate the user account.
2
Run deletion from a trusted backend
Keep API credentials and audit logging outside the client app.
3
Refresh SDK-powered surfaces
Refresh user lists, member lists, profile views, and moderation tools after the backend operation completes.
4
Handle deleted-user state
SDK query results may expose deleted-user state such as
isDeleted; make your UI resilient to missing names or avatars.Alternatives
Related topics
Get User Information
Handle deleted-user state in profile and list views.
Roles & Permissions
Gate privileged admin and moderation actions.