Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.selfServiceProfiles.delete("id"); } main();
Deletes a self-service profile by Id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the self-service profile to delete
Self-service profile successfully deleted.