company

Add an organization to the company that owns the active organization.

Changed on
post/company/organizations

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/company/organizations
  • Auth: none declared. Required headers: x-organization-id

Headers

x-organization-idstring required

Active organization id (or slug). Required for org-scoped operations; the generated client enforces it at compile time.

Request body

namestring required
slugstring
supportEmailstring email
orgOnboardingProfile'engineering' | 'general'

Response

Response

idstring required
slugstring required
namestring required
avatarUrlstring nullable required
isPersonalboolean required
createdByUserIdstring nullable required
createdAtnumber required
supportEmailstring email nullable required
bootstrappedAtnumber nullable
capabilitiesstring[] required
subscriptionTier'trial' | 'standard' | 'enterprise'
enabledReleaseChannelsstring[] required
status'active' | 'disabled'
disabledReason'manual' | 'subscription_expired' | 'nonpayment' nullable
sandboxRetentionDaysinteger nullable
defaultSandboxSizestring nullable
sandboxArtifactMirrorsboolean
allowSessionShareViewboolean
allowSessionShareEditboolean
sharingSettingsobject
defaultSessionShare'private' | 'view' | 'edit'

Changes

    • warning

      changed the pattern of the request property from ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ to ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$

    • info

      the / response's property pattern was changed from ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ to ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ for the status

    • info

      added the optional property to the response with the status