Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.hooks.delete("id"); } main();
Delete a hook.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the hook to delete.
^[A-Za-z0-9-]*$
Hook successfully deleted.