Skip to main content

zones_settings

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

Overview

Namezones_settings
TypeResource
Idcloudflare.zones.zones_settings

Fields

The following fields are returned by SELECT queries:

Get all Zone settings response

NameDatatypeDescription
idstringID of the zone setting. (0rtt) (example: 0rtt)
editablebooleanWhether or not this setting can be modified for this zone (based on your Cloudflare plan level). (true, false)
enabledbooleanssl-recommender enrollment setting.
modified_onstring (date-time)last time this setting was modified. (example: 2014-01-01T05:20:00.12345Z)
time_remainingnumberValue of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is false.
valuestringCurrent value of the zone setting. (on, off) (example: on, default: off)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idAvailable settings for your user in relation to a zone.

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

Available settings for your user in relation to a zone.

SELECT
id,
editable,
enabled,
modified_on,
time_remaining,
value
FROM cloudflare.zones.zones_settings
WHERE zone_id = '{{ zone_id }}' -- required
;