Skip to content

Create a child org (admin+ on the parent)

POST
/v1/admin/orgs

Create a CHILD org under parent_org_id (required). Requires admin+ on the parent. The child inherits the root org’s tier/limits and is capped by the root’s max_child_orgs. Client org/customer ids are never accepted.

Create a CHILD org. parent_org_id is required (only child orgs are creatable from the console in v1; a user’s single root org is bootstrapped on first sign-in). admin+ on the parent is required. Client-supplied org ids are NEVER accepted; the server creates a UUID and a compatibility customer id.

object
display_name
string
slug
string
parent_org_id
required
string

Created.

An Extrovert organization (the authority/billing boundary). org ids are plain server-created UUIDs (never client-supplied). A root org has a null parent_org_id; child orgs reference their parent.

object
id
required
string
customer_id
required
string
parent_org_id
string
nullable
root_org_id
required
string
display_name
required
string
slug
required
string
lifecycle_status
required
string
Allowed values: active archived deleted
plan_tier
required
string
max_child_orgs
required
integer
max_projects
required
integer
version
required

Optimistic-CAS version.

integer
created_at
required
string format: date-time
updated_at
required
string format: date-time

Invalid request.

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope

Missing or invalid credential.

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope

Authenticated but lacking the required scope, or out of quota.

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope

Resource conflict (e.g. a duplicate entry).

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope