Skip to main content

accounts

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

Overview

Nameaccounts
TypeResource
Idcloudflare.tenants.accounts

Fields

The following fields are returned by SELECT queries:

The request has succeeded.

NameDatatypeDescription
idstring
namestring
created_onstring (date-time)
settingsobject
typestring (standard, enterprise)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselecttenant_idList 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.

NameDatatypeDescription
tenant_idstring

SELECT examples

List of accounts for the Tenant.

SELECT
id,
name,
created_on,
settings,
type
FROM cloudflare.tenants.accounts
WHERE tenant_id = '{{ tenant_id }}' -- required
;