Skip to main content

fallthrough

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

Overview

Namefallthrough
TypeResource
Idcloudflare.api_gateway.fallthrough

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
createinsertzone_id, hostsCreates an expression template fallthrough rule for API Shield. Used for configuring default behavior when no other expression templates match.

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.

INSERT examples

Creates an expression template fallthrough rule for API Shield. Used for configuring default behavior when no other expression templates match.

INSERT INTO cloudflare.api_gateway.fallthrough (
hosts,
zone_id
)
SELECT
'{{ hosts }}' /* required */,
'{{ zone_id }}'
RETURNING
errors,
messages,
result,
success
;