Allow/forbid admins of an organization to create projects

Allow or forbid admins of an organization to create CDF projects 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/adminsCanCreateProjectsInSubtree', 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 projects

boolean

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

Responses
200

Successfully updated

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