CDNs

Updates a custom security rule.

Updates a custom security rule for a subscription.

put/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.

Request body

display_namestring

The display name of the custom security rule.

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

The action applied when the rule matches.

priorityinteger

The priority order for the rule.

domainsstring[]

The domains the rule applies to.

pathsstring[]

The paths the rule applies to.

Response

OK

_embeddedobject

Embedded resources (optional)

message'The custom security rule has been updated.' required

Confirmation message

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.