View Source Auth0.Management.Hooks (Auth0Api v2.5.1)
Facade for the Auth0 Management API Hooks endpoints.
Most applications should call Auth0.Api.Management instead of this module.
Deprecated: Auth0 Hooks are deprecated (end of life announced by Auth0). Migrate to Actions (Auth0.Management.Actions). The corresponding Auth0.Api.Management functions are marked with @deprecated.
Summary
Functions
Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets.
Create a new hook.
Delete a hook.
Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
Retrieve a hook by its ID. Accepts a list of fields to include in the result.
Retrieve a hook's secrets by the ID of the hook.
Retrieve all hooks. Accepts a list of fields to include or exclude in the result.
Update an existing hook.
Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret.
Types
Functions
Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets.
see
Create a new hook.
see
Delete a hook.
see
https://auth0.com/docs/api/management/v2/hooks/delete-hooks-by-id
@spec delete_secrets(id(), value_params(), config()) :: {:ok, String.t()} | error()
Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
see
https://auth0.com/docs/api/management/v2/hooks/delete-secrets
Retrieve a hook by its ID. Accepts a list of fields to include in the result.
see
https://auth0.com/docs/api/management/v2/hooks/get-hooks-by-id
Retrieve a hook's secrets by the ID of the hook.
see
Retrieve all hooks. Accepts a list of fields to include or exclude in the result.
see
Update an existing hook.
see
https://auth0.com/docs/api/management/v2/hooks/patch-hooks-by-id
Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret.
see
https://auth0.com/docs/api/management/v2/hooks/patch-secrets