Skip to main content

ownership_validate

Creates, updates, deletes, gets or lists an ownership_validate resource.

Overview

Nameownership_validate
TypeResource
Idcloudflare.logpush.ownership_validate

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
validate_by_accountinsertaccount_id, destination_conf, ownership_challengeValidates ownership challenge of the destination.
validate_by_zoneinsertzone_id, destination_conf, ownership_challengeValidates ownership challenge of the destination.

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 ownership challenge of the destination.

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