Get started
You can configure the Metadata Boundary to select the region where your logs and analytics are stored via API or dashboard.
Currently, this can only be applied at the account-level. If you only want the Metadata Boundary to be applied on a portion of zones beneath the same account, you will have to move the rest of zones to a new account.
To configure Customer Metadata Boundary in the dashboard:
- Log in to the Cloudflare dashboard ↗ and select your account.
- Go to Manage Account > Configurations.
- In Customer Metadata Boundary, select the region you want to use. You have the option to select
EU
orUS
. If you want to select both regions, selectGlobal
instead.
You can also configure Customer Metadata Boundary via API.
Currently, only SuperAdmins and Admin roles can edit DLS configurations. Use the Account-level Logs:Read/Write API permissions for the /logs/control/cmb
endpoint to read/write Customer Metadata Boundary configurations.
These are some examples of API requests.
Get current regions
Here is an example request using cURL to get current regions (if any):
Setting regions
Here is an example request using cURL to set regions:
This will overwrite any previous regions. Change will be in effect after several minutes.
Delete regions
Here is an example request using cURL to delete regions:
To view or change your Customer Metadata Boundary setting:
- Log in to the Cloudflare dashboard ↗ and select your account.
- Go to Manage Account > Configurations > Preferences.
- Locate the Customer Metadata Boundary section.