Skip to main content

settings

Creates, updates, deletes, gets or lists a settings resource.

Overview

Namesettings
TypeResource
Idcloudflare.page_rules.settings

Fields

The following fields are returned by SELECT queries:

List available Page Rules settings response

NameDatatypeDescription
errorsarray
messagesarray
resultarraySettings available for the zone.
successbooleanWhether the API call was successful. (true)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idReturns a list of settings (and their details) that Page Rules can apply to matching requests.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.

SELECT examples

Returns a list of settings (and their details) that Page Rules can apply to matching requests.

SELECT
errors,
messages,
result,
success
FROM cloudflare.page_rules.settings
WHERE zone_id = '{{ zone_id }}' -- required
;