Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.actions.delete("id", { force: true, }); } main();
Deletes an action and all of its associated versions. An action must be unbound from all triggers before it can be deleted.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the action to delete.
Force action deletion detaching bindings
Action successfully deleted.