Prepare for the PgBouncer and IPv4 deprecations on 26th January 2024

Javascript Reference v2.0

Delete a factor for a user

Deletes a factor on a user. This will log the user out of all active sessions if the deleted factor was verified.

Parameters
    params
    REQUIRED
    AuthMFAAdminDeleteFactorParams

const { data, error } = await supabase.auth.admin.mfa.deleteFactor({
  id: '34e770dd-9ff9-416c-87fa-43b31d7ef225',
  userId: 'a89baba7-b1b7-440f-b4bb-91026967f66b',
})