Skip to main content

settings

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

Overview

Namesettings
TypeResource
Idcloudflare.waiting_rooms.settings

Fields

The following fields are returned by SELECT queries:

The current zone-level Waiting Room settings

NameDatatypeDescription
search_engine_crawler_bypassbooleanWhether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Verified search engine crawlers will not be tracked or counted by the waiting room system, and will not appear in waiting room analytics.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idGets the zone-level Waiting Room settings that apply as defaults to all waiting rooms on the zone.
editupdatezone_idPartially updates zone-level Waiting Room settings using PATCH semantics.
updatereplacezone_idFully updates zone-level Waiting Room settings, replacing the existing configuration.

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

Gets the zone-level Waiting Room settings that apply as defaults to all waiting rooms on the zone.

SELECT
search_engine_crawler_bypass
FROM cloudflare.waiting_rooms.settings
WHERE zone_id = '{{ zone_id }}' -- required
;

UPDATE examples

Partially updates zone-level Waiting Room settings using PATCH semantics.

UPDATE cloudflare.waiting_rooms.settings
SET
search_engine_crawler_bypass = {{ search_engine_crawler_bypass }}
WHERE
zone_id = '{{ zone_id }}' --required
RETURNING
result;

REPLACE examples

Fully updates zone-level Waiting Room settings, replacing the existing configuration.

REPLACE cloudflare.waiting_rooms.settings
SET
search_engine_crawler_bypass = {{ search_engine_crawler_bypass }}
WHERE
zone_id = '{{ zone_id }}' --required
RETURNING
result;