user

Revoke the user's MFA recovery codes.

Changed on

Removes the recovery-code factor and all of its codes. Sessions that reached AAL2 with a recovery code are downgraded to AAL1. Requires an AAL2 session. Works regardless of whether recovery-code enrollment or verification is enabled on the server.

delete/factors/recovery-codes

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/factors/recovery-codes
  • Auth
    API key in header apikey and HTTP bearer

Response

The recovery-code factor was removed.

idstring uuid

Example response

{
  "id": "2b306a77-21dc-4110-ba71-537cb56b9e98"
}

Changes