Passer au contenu principal
DELETE
/
connections
/
{id}
/
users
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.connections.users.deleteByEmail("id", {
        email: "email",
    });
}
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 connection (currently only database connections are supported)

Paramètres de requête

email
string
requis

The email of the user to delete

Réponse

The user no longer exists.