Skip to main content

validate_origin

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

Overview

Namevalidate_origin
TypeResource
Idcloudflare.logpush.validate_origin

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
origin_by_accountinsertaccount_id, logpull_optionsValidates logpull origin with logpull_options.
origin_by_zoneinsertzone_id, logpull_optionsValidates logpull origin with logpull_options.

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
account_idstringThe Cloudflare account ID.
zone_idstringThe Cloudflare zone ID.

INSERT examples

Validates logpull origin with logpull_options.

INSERT INTO cloudflare.logpush.validate_origin (
logpull_options,
account_id
)
SELECT
'{{ logpull_options }}' /* required */,
'{{ account_id }}'
RETURNING
errors,
messages,
result,
success
;