accounts
Creates, updates, deletes, gets or lists an accounts resource.
Overview
| Name | accounts |
| Type | Resource |
| Id | cloudflare.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
set_pay_per_crawl_zones | exec | account_id | Allows an account admin to set the can_be_enabled setting on a list of zones. | |
query_pay_per_crawl_zones | exec | account_id | Provided 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
Lifecycle Methods
- set_pay_per_crawl_zones
- query_pay_per_crawl_zones
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 }}"
}'
;
Provided a list of pay-per-crawl configured zones this method will return whether they can enable PPC or not.
EXEC cloudflare.billing.accounts.query_pay_per_crawl_zones
@account_id='{{ account_id }}' --required
@@json=
'{
"zones": "{{ zones }}"
}'
;