Pull Zone

Add/Update Edge Rule

Changed on
post/pullzone/{pullZoneId}/edgerules/addOrUpdate

Request

Path parameters

pullZoneIdinteger required

The ID of the Pull Zone where the Edge Rule will be created

Request body

Guidstring nullable

The unique GUID of the edge rule

ActionType0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37

0 = Force SSL 1 = Redirect 2 = Origin URL 3 = Override Cache Time 4 = Block Request 5 = Set Response Header 6 = Set Request Header 7 = Force Download 8 = Disable Token Authentication 9 = Enable Token Authentication 10 = Override Cache Time Public 11 = Ignore Query String 12 = Disable Optimizer 13 = Force Compression 14 = Set Status Code 15 = Bypass Perma-Cache 16 = Override Browser Cache Time 17 = Origin Storage 18 = Set Network Rate Limit 19 = Set Connection Limit 20 = Set Requests Per Second Limit 21 = Run Edge Script 22 = Origin Magic Containers 23 = Disable WAF 24 = Retry Origin 25 = Override Browser Cache Response Header 26 = Remove Browser Cache Response Header 27 = Disable Shield Challenge 28 = Disable Shield 29 = Disable Shield Bot Detection 30 = Bypass AWS S3 Authentication 31 = Disable Shield Access Lists 32 = Disable Shield Rate Limiting 33 = Enable Request Coalescing 34 = Disable Request Coalescing 35 = Use Load Balancer 36 = Force Load Balancer Sticky Session Mode 37 = Strip Cookies (Client to Origin)

ActionParameter1string nullable

The Action parameter 1. The value depends on other parameters of the edge rule.

ActionParameter2string nullable

The Action parameter 2. The value depends on other parameters of the edge rule.

ActionParameter3string nullable

The Action parameter 3. The value depends on other parameters of the edge rule.

TriggerMatchingType0 | 1 | 2

0 = Match Any 1 = Match All 2 = Match None

Descriptionstring nullable

The description of the edge rule

Enabledboolean

Determines if the edge rule is currently enabled or not

OrderIndexinteger

The index of the edge rule in the list of execution priority

ReadOnlyboolean

Determines if the edge rule is read-only and cannot be modified or deleted

Response

The Edge Rule was successfully added

Changes

    • breaking

      removed the enum value 0.00 of the request property //

    • breaking

      removed the enum value 1.00 of the request property //

    • breaking

      removed the enum value 10.00 of the request property //

    • breaking

      removed the enum value 11.00 of the request property //

    • breaking

      removed the enum value 12.00 of the request property //

    • breaking

      removed the enum value 13.00 of the request property //

    • breaking

      removed the enum value 14.00 of the request property //

    • breaking

      removed the enum value 15.00 of the request property //

    • breaking

      removed the enum value 16.00 of the request property //

    • breaking

      removed the enum value 17.00 of the request property //

    • breaking

      removed the enum value 18.00 of the request property //

    • breaking

      removed the enum value 19.00 of the request property //

    • breaking

      removed the enum value 2.00 of the request property //

    • breaking

      removed the enum value 20.00 of the request property //

    • breaking

      removed the enum value 21.00 of the request property //

    • breaking

      removed the enum value 22.00 of the request property //

    • breaking

      removed the enum value 23.00 of the request property //

    • breaking

      removed the enum value 24.00 of the request property //

    • breaking

      removed the enum value 25.00 of the request property //

    • breaking

      removed the enum value 26.00 of the request property //

    • breaking

      removed the enum value 27.00 of the request property //

    • breaking

      removed the enum value 28.00 of the request property //

    • breaking

      removed the enum value 29.00 of the request property //

    • breaking

      removed the enum value 3.00 of the request property //

    • breaking

      removed the enum value 30.00 of the request property //

    • breaking

      removed the enum value 31.00 of the request property //

    • breaking

      removed the enum value 32.00 of the request property //

    • breaking

      removed the enum value 33.00 of the request property //

    • breaking

      removed the enum value 34.00 of the request property //

    • breaking

      removed the enum value 35.00 of the request property //

    • breaking

      removed the enum value 36.00 of the request property //

    • breaking

      removed the enum value 37.00 of the request property //

    • breaking

      removed the enum value 4.00 of the request property //

    • breaking

      removed the enum value 5.00 of the request property //

    • breaking

      removed the enum value 6.00 of the request property //

    • breaking

      removed the enum value 7.00 of the request property //

    • breaking

      removed the enum value 8.00 of the request property //

    • breaking

      removed the enum value 9.00 of the request property //

    • breaking

      the // request property type changed from integer to no type

    • info

      added to the // request property oneOf list

    • info

      added the new 35.00 enum value to the request property ////

    • info

      added the new 35.00 enum value to the request property //

    • info

      added the new 36.00 enum value to the request property ////

    • info

      added the new 36.00 enum value to the request property //