Skip to main content

child_orgs

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

Overview​

Namechild_orgs
TypeResource
Idokta.orgs.child_orgs

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_child_orginsertsubdomain, admin, edition, name, subdomainCreates an org (child org) that has the same features as the current requesting org (parent org).
A child org inherits any new features added to the parent org, but new features added to the child org aren't propagated back to the parent org.
> Notes:
> * Some features associated with products, such as Atspoke, Workflows, and Okta Identity Governance, aren't propagated to the child org.
> * Wait at least 30 seconds after a 201-Created response before you make API requests to the new child org.
> * For rate limits, see Org creation rate limits.

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
subdomainstring(default: my-org)

INSERT examples​

Creates an org (child org) that has the same features as the current requesting org (parent org).
A child org inherits any new features added to the parent org, but new features added to the child org aren't propagated back to the parent org.
> Notes:
> * Some features associated with products, such as Atspoke, Workflows, and Okta Identity Governance, aren't propagated to the child org.
> * Wait at least 30 seconds after a 201-Created response before you make API requests to the new child org.
> * For rate limits, see Org creation rate limits.

INSERT INTO okta.orgs.child_orgs (
admin,
edition,
name,
subdomain,
website,
subdomain
)
SELECT
'{{ admin }}' /* required */,
'{{ edition }}' /* required */,
'{{ name }}' /* required */,
'{{ subdomain }}' /* required */,
'{{ website }}',
'{{ subdomain }}' /* required */
RETURNING
id,
name,
_links,
admin,
created,
edition,
lastUpdated,
settings,
status,
subdomain,
token,
tokenType,
website
;