When you no longer need Hook Secrets for a given Hook, you can delete them using either the Dashboard or the . Hook Secrets can also be imported and exported using the Deploy Command-Line Interface (CLI) tool.Documentation Index
Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Delete Hook Secrets using the Dashboard
- Navigate to the Hooks page in the Auth0 Dashboard, and click the pencil icon next to the Hook you want to edit.
- In the Hook editor, click the wrench icon, and click Secrets.
- Locate the Hook Secret you want to delete, click the trash can icon, and click Yes.
Delete Hook Secrets using the Management API
Make aDELETE call to the Delete Hook Secrets endpoint. Be sure to replace HOOK_ID, HOOK_SECRET_NAME, and MGMT_API_ACCESS_TOKEN placeholder values with your Hook ID, your Hook Secret name(s), and Management API , respectively.
| Value | Description |
|---|---|
HOOK_ID | ID of the Hook for which you want to delete secrets. |
MGMT_API_ACCESS_TOKEN | Access Tokens for the Management API with the scope update:hooks. To learn more, read Management API Access Tokens. |
HOOK_SECRET_NAME | Name(s) of the secret(s) you would like to delete from the specified Hook. This endpoint accepts an array of secret names to delete. |