Auth API reference

Auth API · Consumer-Mfa

delete/{app_slug}/v1/me/mfa/factors/{id}Auth

Disable an MFA factor

Soft-disable. The row is preserved (with `disabled_at` set) for audit. Has no effect on existing sessions — their `amr` claim still reflects whatever satisfied sign-in at the time. Disabling the only enabled factor removes the MFA requirement on future sign-ins.

Path parameters

id*string

Id of the factor.

app_slug*string

Slug of the app.

Response · 204

Factor disabled.

Example

Request

DELETE https://api.auth.productcraft.co/{app_slug}/v1/me/mfa/factors/{id}
Authorization: Bearer YOUR_TOKEN