Allow/forbid admins of an organization to create sub-organizations

Allow or forbid admins of an organization to create organizations anywhere in the subtree of the organization.

Access control

Requires the caller to be an admin in any of the organization's ancestors.

Example: Assume an organization hierarchy like: org-a -> org-b -> org-c. To change the access rights for org-c, which means calling 'PUT /orgs/org-c/adminsCanCreateOrgsInSubtree', the caller must be an admin in org-a, or org-b. Being an admin in org-c does not grant access.

Securityorg-oidc-token
Request
path Parameters
org
required
string (OrgId) [ 3 .. 64 ] characters ^([a-z][a-z0-9-]{1,62}[a-z0-9])$

ID of an organization

Example: my-org
Request Body schema: application/json
required

A request to allow or forbid admins to create sub-organizations

boolean

Whether admins of the organization are allowed to create organizations in the subtree of the organization.

Responses
200

Successfully updated

put/api/admin/orgs/{org}/adminsCanCreateOrgsInSubtree
Request samples
application/json
true