zones_settings
Creates, updates, deletes, gets or lists a zones_settings resource.
Overview
| Name | zones_settings |
| Type | Resource |
| Id | cloudflare.zones.zones_settings |
Fields
The following fields are returned by SELECT queries:
- list
Get all Zone settings response
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the zone setting. (0rtt) (example: 0rtt) |
editable | boolean | Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). (true, false) |
enabled | boolean | ssl-recommender enrollment setting. |
modified_on | string (date-time) | last time this setting was modified. (example: 2014-01-01T05:20:00.12345Z) |
time_remaining | number | Value 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. |
value | string | Current value of the zone setting. (on, off) (example: on, default: off) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | Available 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.
| Name | Datatype | Description |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
SELECT examples
- list
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
;