Page Rule

Disallow Cache Rule

put

Disallows caching for the specified URI path(s) on a Dynamic (Aksela) resource.

Note: The resource_uuid value in the request body must match the {resource_uuid} path parameter.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
resource_uuidstringRequired

Resource UUID.

Example: ****-****-****-****
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Custom Error Pages

put

Enables or updates Custom Error Pages for a resource. This setting is available for all resource types.

Note: The resource_uuid value in the request body must match the {resource_uuid} path parameter.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
resource_uuidstringRequired

Resource UUID.

Example: *****-***-***-***
custom_error_pages_statusbooleanRequired

Enables or disables Custom Error Pages.

Example: true
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Page Rule Query String - Retain All

put

Updates Query String handling for one or more Page Rules on a resource. This setting is available for small, large, and dynamic (Aksela) resource types.

Retain All means Query String parameters are kept and evaluated as part of cache behavior according to the rule configuration.

Note: Page Rules are updated by rule_id.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Page Rule Query String - Ignore All

put

Updates Query String handling for one or more Page Rules on a resource. This setting is available for small, large, and dynamic (Aksela) resource types.

Ignore All means Query String parameters are ignored for the page rule behavior (i.e., the rule treats URLs as if they have no Query String).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Page Rule Query String - Retain Specific

put

Updates Query String handling for one or more Page Rules on a resource. This setting is available for small, large, and dynamic (Aksela) resource types.

Retain Specific means the cache key includes only the selected Query String parameters (the rest are ignored).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Page Rule Query String - Ignore Specific

put

Updates Query String handling for one or more Page Rules on a resource. This setting is available for small, large, and dynamic (Aksela) resource types.

Ignore Specific means the cache key includes all Query String parameters except the specified ones.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Delete Page Rule

put

Deletes one or more Page Rules by marking them with is_delete=true in the request payload.

This action updates the Page Rule configuration on the resource. The status_file_extension field controls whether Page Rule processing by file extension is enabled at the resource level.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

Organization UUID.

Example: ****-*****-****-****
resource_uuidstringRequired

Resource UUID.

Example: ****-*****-****-*****
Body
resource_uuidstringRequired

Resource UUID.

Example: ****-****-****-****
status_file_extensionbooleanRequired

Enables or disables Page Rule evaluation by file extension at the resource level.

Example: true
Responses
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Last updated

Was this helpful?