Passer au contenu principal
You can configure Tenant Access Control List (ACL) rules with the Auth0 .

Available actions

You can view, create, update, overwrite, and delete Tenant ACL rules with the Management API.

Parameters

For detailed information about Tenant ACL parameters and how to use them, read Reference.

Example: Block all traffic from a given country

Here’s an example of a Tenant ACL rule that blocks all incoming traffic from China.
To create a Tenant ACL rule with the Management API:
  1. Get a Management API access token with the create:network_acls scope.
  2. Call the Management API Create access control list endpoint with the following body:

Toggle monitoring mode for a rule

You can enable or disable monitoring mode for a Tenant ACL rule by setting the rule.action.log object to true or false, respectively.

Example: Enable monitoring mode for an existing Tenant ACL rule

To enable monitoring mode for a Tenant ACL rule with the Management API:
  1. Get a Management API access token with the update:network_acls scope.
  2. Call the Management API Partial update for an access control list endpoint with the following body: