Skip to main content

organizations

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

Overview

Nameorganizations
TypeResource
Idconfluent.org.organizations

Fields

The following fields are returned by SELECT queries:

Organization.

NameDatatypeDescription
idstringID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space"). (example: dlz-f3a90de)
display_namestringA human-readable name for the Organization (example: Finance Org, pattern: ^[^<>#%'*^`{|}~"]{1,31}$)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (org/v2)
jit_enabledbooleanThe flag to toggle Just-In-Time user provisioning for SSO-enabled organization. Available for early access only.
kindstringKind defines the object this REST resource represents. (Organization)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_org_v2_organizationselectidMake a request to read an organization.
list_org_v2_organizationsselectpage_size, page_tokenRetrieve a sorted, filtered, paginated list of all organizations.
update_org_v2_organizationupdateidMake a request to update an organization.

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
idstringThe unique identifier for the organization.
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.

SELECT examples

Make a request to read an organization.

SELECT
id,
display_name,
api_version,
jit_enabled,
kind,
metadata
FROM confluent.org.organizations
WHERE id = '{{ id }}' -- required
;

UPDATE examples

Make a request to update an organization.

UPDATE confluent.org.organizations
SET
display_name = '{{ display_name }}',
jit_enabled = {{ jit_enabled }}
WHERE
id = '{{ id }}' --required
RETURNING
id,
display_name,
api_version,
jit_enabled,
kind,
metadata;