Passer au contenu principal
DELETE
/
users
/
{id}
/
authentication-methods
/
{authentication_method_id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.users.authenticationMethods.delete("id", "authentication_method_id");
}
main();

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

The ID of the user in question.

authentication_method_id
string
requis

The ID of the authentication method to delete.

Réponse

Authentication method successfully deleted.