Skip to main content

tenants

Creates, updates, deletes, gets or lists a tenants resource.

Overview

Nametenants
TypeResource
Idcloudflare.user.tenants

Fields

The following fields are returned by SELECT queries:

The request has succeeded.

NameDatatypeDescription
idstring (example: a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8, title: Organization ID)
namestring
create_timestring (date-time)
metaobject
parentobject
profileobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectRetrieves list of tenants the authenticated user / method has access to.

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

SELECT examples

Retrieves list of tenants the authenticated user / method has access to.

SELECT
id,
name,
create_time,
meta,
parent,
profile
FROM cloudflare.user.tenants
;