Skip to main content

accounts

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

Overview

Nameaccounts
TypeResource
Idcloudflare.billing.accounts

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
set_pay_per_crawl_zonesexecaccount_idAllows an account admin to set the can_be_enabled setting on a list of zones.
query_pay_per_crawl_zonesexecaccount_idProvided a list of pay-per-crawl configured zones this method will return whether they can enable PPC or not.

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.

Lifecycle Methods

Allows an account admin to set the can_be_enabled setting on a list of zones.

EXEC cloudflare.billing.accounts.set_pay_per_crawl_zones
@account_id='{{ account_id }}' --required
@@json=
'{
"zones": "{{ zones }}"
}'
;