Skip to main content
PATCH
Update Sub-Organization

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key

Path Parameters

org_id
string
required

The ID of the parent organization

sub_org_id
string
required

The ID of the sub-organization

Body

Schema for updating a sub-organization from the parent. Accepts an optional name, a partial config (deep-merged on the server), an optional logo_id, and a deprecated features field that is ignored.

name
string
Required string length: 2 - 64
logo_id
string | null

Logo file id; pass null to clear

Maximum string length: 128
config
object

Organization configuration settings

features
object

[Deprecated] Legacy feature-delegation field. Ignored by the server; kept for backward compatibility. Feature flags are now managed exclusively by platform admins.

Response

200 - application/json

The updated sub-organization.

Summary information about a sub-organization

id
string
required

Unique identifier of the sub-organization

name
string
required

Name of the sub-organization

logo_url
string | null
required

URL of the sub-organization logo

plan
enum<string>
required

Type of subscription plan

Available options:
free,
business
balance
number
required

Current credit balance

promo_balance
number
required

Current promotional credit balance

billing
object
required

Schema for updating payment configuration

members
object[]
required

Members of the sub-organization

spending_cap_used
number
required

Amount spent in the current month

created_at
string<date-time> | null
required

Timestamp when the sub-organization was created

features
object

Org gate-keeping features configuration

config
object

Organization configuration settings