npm
packages, and can connect external integrations that enhance your overall extensibility experience. To learn more about what Actions offer, read Understand How Auth0 Actions Work.To help with your migration, we offer guides that will help you migrate from Rules to Actions and migrate from Hooks to Actions. We also have a dedicated Move to Actions page that highlights feature comparisons, an Actions demo, and other resources to help you on your migration journey.To read more about the Rules and Hooks deprecation, read our blog post: Preparing for Rules and Hooks End of Life.PATCH
call to the Update Hook Secrets endpoint. Be sure to replace HOOK_ID
and MGMT_API_ACCESS_TOKEN
placeholder values with your hook ID and Management API , respectively.
Value | Description |
---|---|
MGMT_API_ACCESS_TOKEN | Access Tokens for the Management API with the update:hooks . To learn more, read Management API Access Tokens. |
HOOK_ID | ID of the hook for which you would like to update secrets. |
HOOK_SECRET_KEY | Name of the secret that you would like to update for the specified hook. This endpoint accepts an object of key-value pairs. |
HOOK_SECRET_VALUE | Value of the secret that you would like to update for the specified hook. This endpoint accepts an object of key-value pairs. |
_VALUE_NOT_SHOWN
. Be careful not to return this placeholder text during an update, or the secret’s actual value will be overwritten.