admin

Update a user's MFA factor.

Changed on
put/admin/users/{userId}/factors/{factorId}

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/admin/users/{userId}/factors/{factorId}
  • Auth
    API key in header apikey and HTTP bearer

Request body

object required

Response

User's MFA factor.

idstring uuid
statusstring

Usually one of:

  • verified
  • unverified
friendly_namestring
factor_typestring

Usually one of:

  • totp
  • phone
  • webauthn
  • recovery_code
webauthn_credentialstring
phonestring phone nullable
created_atstring date-time
updated_atstring date-time
last_challenged_atstring date-time nullable

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response's property type changed from jsonb to string for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status