Auth0.Management.Hooks (Auth0Api v1.4.0) View Source
Documentation for Auth0 Management API of Hooks.
endpoint
- /api/v2/hooks
- /api/v2/hooks/{id}
- /api/v2/hooks/{id}/secrets
Link to this section Summary
Functions
Add hook secrets.
Create a hook.
Delete a hook.
Delete hook secrets.
Get a hook.
Get hook secrets.
Get hooks.
Update a hook.
Update hook secrets.
Link to this section Types
Specs
config() :: Auth0.Config.t()
Specs
Specs
id() :: String.t()
Specs
response_body() :: String.t()
Link to this section Functions
Specs
add_secrets( id(), Auth0.Management.Hooks.Secrets.Add.Params.t() | map(), config() ) :: {:ok, map(), response_body()} | error()
Add hook secrets.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/post_secrets
Specs
create(Auth0.Management.Hooks.Create.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Hook.t(), response_body()} | error()
Create a hook.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/post_hooks
Specs
delete(id(), config()) :: {:ok, String.t(), response_body()} | error()
Delete a hook.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/delete_hooks_by_id
Specs
delete_secrets( id(), Auth0.Management.Hooks.Secrets.Delete.Params.t() | map(), config() ) :: {:ok, String.t(), response_body()} | error()
Delete hook secrets.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/delete_secrets
Specs
get(id(), Auth0.Management.Hooks.Get.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Hook.t(), response_body()} | error()
Get a hook.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/get_hooks_by_id
Specs
get_secrets(id(), config()) :: {:ok, Auth0.Entity.HookSecret.t(), response_body()} | error()
Get hook secrets.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/get_secrets
Specs
list(Auth0.Management.Hooks.List.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Hooks.t(), response_body()} | error()
Get hooks.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/get_hooks
Specs
update(id(), Auth0.Management.Hooks.Patch.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Hook.t(), response_body()} | error()
Update a hook.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/patch_hooks_by_id
Specs
update_secrets( id(), Auth0.Management.Hooks.Secrets.Patch.Params.t() | map(), config() ) :: {:ok, map(), response_body()} | error()
Update hook secrets.
see
https://auth0.com/docs/api/management/v2/#!/Hooks/patch_hooks_by_id