Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.users.authenticationMethods.deleteAll("id"); } main();
Remove all authentication methods (i.e., enrolled MFA factors) from the specified user account. This action cannot be undone.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user in question.
Authentication methods successfully deleted.