Skip to main content
DELETE
/
hooks
/
{id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.hooks.delete("id");
}
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

ID of the hook to delete.

Pattern: ^[A-Za-z0-9-]*$

Response

Hook successfully deleted.