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 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. |