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
Specs
id() :: String.t()
Specs
response_body() :: String.t()
Link to this section Functions
Specs
create(Auth0.Management.Rules.Create.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Rule.t(), response_body()} | error()
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(id(), Auth0.Management.Rules.Get.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Rule.t(), response_body()} | error()
Get a rule.
see
https://auth0.com/docs/api/management/v2/#!/Rules/get_rules_by_id
Specs
list(Auth0.Management.Rules.List.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Rules.t(), response_body()} | error()
Get rules.
see
https://auth0.com/docs/api/management/v2/#!/Rules/get_rules
Specs
update(id(), Auth0.Management.Rules.Patch.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Rule.t(), response_body()} | error()
Update a rule.
see
https://auth0.com/docs/api/management/v2/#!/Rules/patch_rules_by_id