Remove a member's MFA factor

Remove one second factor, for a user who lost a device.

DELETE /organizations/{org}/tenants/{tenantId}/members/{userId}/mfa/{factorId}

Removes one of the member’s second factors.

Authorization

Any member of the org. A non-member gets 404, the same as for an org that does not exist.

Path parameters

NameTypeDescription
orgstringThe organization: its id (org_…) or its slug. It has to be an org your token can manage (see Who can call it)
tenantIdstringThe tenant, tnt_…
userIdstringThe member, usr_…
factorIdstringThe factor, mfa_…

Response

204 No Content

Errors

StatuserrorWhen
404not_foundNo such factor on this member, no such member or tenant, or the org is not yours

Example

curl -X DELETE https://loginwith.loginwith.dev/organizations/acme/tenants/tnt_65f1c2a9e4b0d3f7a1c8e908/members/usr_65f1c2a9e4b0d3f7a1c8e909/mfa/mfa_65f1c2a9e4b0d3f7a1c8e90b \
  -H "Authorization: Bearer $TOKEN"