user
Revoke the user's MFA recovery codes.
Changed onRemoves 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 URLhttps://abcdefghijklmnopqrst.supabase.co/auth/v1
- URLhttps://abcdefghijklmnopqrst.supabase.co/auth/v1/factors/recovery-codes
- AuthAPI key in header apikey and HTTP bearer
Response
The recovery-code factor was removed.
Example response
{
"id": "2b306a77-21dc-4110-ba71-537cb56b9e98"
}Changes
- info
endpoint added
- info