Skip to main content
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();

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The id of the connection (currently only database connections are supported)

Query Parameters

email
string
required

The email of the user to delete

Response

The user no longer exists.