AdminApi
The admin interface for the supabase auth module. Service role access token is required. Import it via Auth.importAuthToken. Never share it publicly
Functions
Link copied to clipboard
Creates a new user using an email and password
Link copied to clipboard
Creates a new user using a phone number and password
Link copied to clipboard
Deletes a verified MFA factor of a user
Link copied to clipboard
Deletes a user by its id
Link copied to clipboard
Link copied to clipboard
abstract suspend fun inviteUserByEmail(email: String, redirectTo: String? = null, data: JsonObject? = null)
Invites a user by their email
Link copied to clipboard
Removes a user session
Link copied to clipboard
Retrieves all MFA factors of a user
Link copied to clipboard
Retrieves a user by its id
Link copied to clipboard
Retrieves all users
Link copied to clipboard
Removes a user session
Link copied to clipboard
abstract suspend fun updateUserById(uid: String, builder: AdminUserUpdateBuilder.() -> Unit): UserInfo
Updates a user by its id