Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.users.authenticationMethods.delete("id", "authentication_method_id"); } main();
Remove the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user in question.
The ID of the authentication method to delete.
Authentication method successfully deleted.