Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.hooks.secrets.delete("id", [ "string", ]); } main();
Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the hook whose secrets to delete.
^[A-Za-z0-9-]*$
1
Hook secrets successfully deleted.