Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Add updateUserById (Auth, server only) for parity with JS features #169

@scanrsvp

Description

@scanrsvp

Hello.
I'd like to request the addition of the update_user_by_id method for parity with the JS client.

Is your feature request related to a problem? Please describe.

The gotrue-py client is missing a few methods which would be immensely helpful; one of which is updateUserById. While this (gotrue-py) client does have the update_user method available, this method relies on a JWT and the RLS system for identifying the user to be updated. The JS client contains server-only methods which rely on the service_role keys to operate, and updateUserById is one such important method. This method is vital for the administration of users by admin users and system processes.

Describe the solution you'd like

I would simply like to request that this method be added.

Describe alternatives you've considered

There are no alternatives, short of constructing the endpoint call manually, which defeats the purpose of using a client.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions