Skip to content

Missing parameter from DeleteUser #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nandor23 opened this issue May 28, 2025 · 0 comments
Closed

Missing parameter from DeleteUser #194

nandor23 opened this issue May 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@nandor23
Copy link

nandor23 commented May 28, 2025

This belongs to gotrue-csharp repository, apologies for the mistake. Closing the issue, a pull request has already been submitted.

Users can be deleted trough the Auth Admin API. The GoTrueAdminClient exposes the DeleteUser method, but the shouldSoftDelete parameter is missing from it. The method signature should be the same as in the JavaScript library: https://github.com/supabase/auth-js/blob/0aa02d15f1c8181dd3c08e4a21b2df17f2943344/src/GoTrueAdminApi.ts#L280

This can be seen in the docs as well: https://supabase.com/docs/reference/javascript/auth-admin-deleteuser

// This is how the method looks like in .NET
Task<bool> DeleteUser(string uid);

I'm happy to open a PR to add this

@nandor23 nandor23 added the bug Something isn't working label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant