Auth0.Management.Anomaly (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management API of Anomaly.

endpoint

  • /api/v2/anomaly/blocks/ips/{id}

Link to this section Summary

Functions

Check if an IP address is blocked.

Remove the blocked IP address.

Link to this section Types

Specs

config() :: Auth0.Config.t()

Specs

error() :: {:error, integer(), term()} | {:error, term()}

Specs

ip() :: String.t()

Specs

response_body() :: String.t()

Link to this section Functions

Link to this function

check_ip_blocked(ip, config)

View Source

Specs

check_ip_blocked(ip(), config()) :: {:ok, boolean(), response_body()} | error()

Check if an IP address is blocked.

see

https://auth0.com/docs/api/management/v2/#!/Anomaly/get_ips_by_id

Link to this function

remove_blocked_ip(ip, config)

View Source

Specs

remove_blocked_ip(ip(), config()) ::
  {:ok, String.t(), response_body()} | error()

Remove the blocked IP address.

see

https://auth0.com/docs/api/management/v2/#!/Anomaly/delete_ips_by_id