accounts
Creates, updates, deletes, gets or lists an accounts resource.
Overview
| Name | accounts |
| Type | Resource |
| Id | cloudflare.tenants.accounts |
Fields
The following fields are returned by SELECT queries:
- list
The request has succeeded.
| Name | Datatype | Description |
|---|---|---|
id | string | |
name | string | |
created_on | string (date-time) | |
settings | object | |
type | string | (standard, enterprise) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | tenant_id | List of accounts for the Tenant. |
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 |
|---|---|---|
tenant_id | string |
SELECT examples
- list
List of accounts for the Tenant.
SELECT
id,
name,
created_on,
settings,
type
FROM cloudflare.tenants.accounts
WHERE tenant_id = '{{ tenant_id }}' -- required
;