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

Documentation for Auth0 Management API of Rules.

endpoint

  • /api/v2/rules
  • /api/v2/rules/{id}

Link to this section Summary

Link to this section Types

Specs

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

Specs

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

Specs

id() :: String.t()

Specs

response_body() :: String.t()

Link to this section Functions

Specs

Create a rule.

see

https://auth0.com/docs/api/management/v2/#!/Rules/post_rules

Specs

delete(id(), config()) :: {:ok, String.t(), response_body()} | error()

Delete a rule.

see

https://auth0.com/docs/api/management/v2/#!/Rules/delete_rules_by_id

Specs

Get a rule.

see

https://auth0.com/docs/api/management/v2/#!/Rules/get_rules_by_id

Specs

Get rules.

see

https://auth0.com/docs/api/management/v2/#!/Rules/get_rules

Link to this function

update(id, params, config)

View Source

Specs

Update a rule.

see

https://auth0.com/docs/api/management/v2/#!/Rules/patch_rules_by_id