CDNs

Retrieves a custom security rule.

Retrieves a custom security rule for a subscription.

get/subscriptions/{subscriptionUuid}/config/security/custom-rules/{customRuleId}

Request

Path parameters

subscriptionUuidstring required

The unique identifier of the subscription.

customRuleIdstring required

The unique identifier of the custom security rule.

Response

OK

idinteger required

The unique identifier of the custom security rule.

display_namestring required

The display name of the custom security rule.

action'block' | 'allow' | 'alert' required

The action applied when the rule matches.

priorityinteger required

The priority order for the rule. Lower values are evaluated first. Priorities must be unique within a subscription — creating or updating a rule with a priority already in use replaces the existing rule at that priority.

domainsstring[] required

The domains the rule applies to.

pathsstring[] required

The paths the rule applies to.

mapped_domains_countinteger

The number of domains the rule is mapped to.

created_atstring date-time required

The timestamp when the rule was created.

updated_atstring date-time required

The timestamp when the rule was last updated.

_embeddedobject

Embedded resources (optional)

Example response

{
  "_links": {
    "self": {
      "href": "https://api.acquia.com/v3/resources/1"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.