GoTrueAdminApi
§Constructors
§Properties
Contains all MFA administration methods.
§Methods
Creates a new user.
This function should only be called on a server. Never expose your service_role
key in the browser.
Delete a user. Requires a service_role
key.
The user id you want to remove.
If true, then the user will be soft-deleted (setting deleted_at
to the current timestamp and disabling their account while preserving their data) from the auth schema.
Defaults to false for backward compatibility.
This function should only be called on a server. Never expose your service_role
key in the browser.
Generates email links and OTPs to be sent via a custom email provider.
The user's email.
User password. For signup only.
Optional user metadata. For signup only.
The redirect url which should be appended to the generated link
Get user by id.
The user's unique identifier
This function should only be called on a server. Never expose your service_role
key in the browser.
Sends an invite link to an email address.
The email address of the user.
Additional options to be included when inviting.
Get a list of users.
This function should only be called on a server. Never expose your service_role
key in the browser.
An object which supports page
and perPage
as numbers, to alter the paginated results.