Page Rules

PageRules

Methods

list(, ):
get/zones/{zone_id}/pagerules

Fetches Page Rules in a zone.

get(, , ):
get/zones/{zone_id}/pagerules/{pagerule_id}

Fetches the details of a Page Rule.

create(, ):
post/zones/{zone_id}/pagerules

Creates a new Page Rule.

update(, , ):
put/zones/{zone_id}/pagerules/{pagerule_id}

Replaces the configuration of an existing Page Rule. The configuration of the updated Page Rule will exactly match the data passed in the API request.

edit(, , ):
patch/zones/{zone_id}/pagerules/{pagerule_id}

Updates one or more fields of an existing Page Rule.

delete(, , ): | null
delete/zones/{zone_id}/pagerules/{pagerule_id}

Deletes an existing Page Rule.

Domain types

PageRule{…}
Target{…}

URL target.