Skip to content

Missing parameter from DeleteUser #194

@nandor23

Description

@nandor23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions