POST /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules

Create a DNS Protection rule for an account.

Servers

Path parameters

Name Type Required Description
account_id String Yes

The ID of the account.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
burst_sensitivity String Yes

The burst sensitivity. Must be one of 'low', 'medium', 'high'.

name String Yes

The name of the DNS Protection rule. Value is relative to the 'scope' setting. For 'global' scope, name should be 'global'. For either the 'region' or 'datacenter' scope, name should be the actual name of the region or datacenter, e.g., 'wnam' or 'lax'.

profile_sensitivity String Yes

The profile sensitivity. Recommended setting is 'low'. Must be one of 'low', 'medium', 'high', or 'very_high'.

scope String Yes

The scope for the DNS Protection rule. Must be one of 'global', 'region', or 'datacenter'.

mode String Yes

The mode for DNS Protection. Must be one of 'enabled', 'disabled', 'monitoring'.

rate_sensitivity String Yes

The rate sensitivity. Must be one of 'low', 'medium', 'high'.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.