Skip to main content

multi_tenant_organization

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

Overview

Namemulti_tenant_organization
TypeResource
Identra_id.tenant_relationships.multi_tenant_organization

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
createdDateTimestring (date-time)Date when multitenant organization was created. Read-only. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
descriptionstringDescription of the multitenant organization.
displayNamestringDisplay name of the multitenant organization.
joinRequestDefines the status of a tenant joining a multitenant organization.
stateState of the multitenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multitenant organization is created. inactive indicates the multitenant organization isn't created. Read-only.
tenantsarrayDefines tenants added to a multitenant organization.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGet properties of the multitenant organization.
updateupdateUpdate the properties of a multitenant 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

SELECT examples

Get properties of the multitenant organization.

SELECT
id,
createdDateTime,
description,
displayName,
joinRequest,
state,
tenants
FROM entra_id.tenant_relationships.multi_tenant_organization
;

UPDATE examples

Update the properties of a multitenant organization.

UPDATE entra_id.tenant_relationships.multi_tenant_organization
SET
id = '{{ id }}',
createdDateTime = '{{ createdDateTime }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
state = '{{ state }}',
joinRequest = '{{ joinRequest }}',
tenants = '{{ tenants }}'
RETURNING
id,
createdDateTime,
description,
displayName,
joinRequest,
state,
tenants;