Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.users.delete("id"); } main();
Delete a user by user ID. This action cannot be undone. For Auth0 Dashboard instructions, see Delete Users.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the user to delete.
User successfully deleted.