Organizations

Create Organization

Create an organization owned by the token's user (on-prem only).

This endpoint is deprecated and has moved to /api/v1/instance/organizations/.

post/v1/organizations/

Request

Request body

organization_namestring required
creation_intent'free' | 'team'
organization_display_namestring
github_handlestring
locationstring
avatarstring
descriptionstring

Response

Successful Response

idstring uuid required
organization_namestring required
subscription_plan'personal' | 'team' | 'growth' | 'enterprise_cloud' | 'non_stripe' | 'enterprise' | 'internal' required
has_admin_panelboolean required
created_atstring date-time required
updated_atstring date-time required
organization_display_namestring nullable required
github_handlestring nullable required
locationstring nullable required
avatarstring nullable required
descriptionstring nullable required
spending_capinteger nullable required
spending_cap_reached_atstring date-time nullable required
planless_grace_period_ends_atstring date-time nullable required
gateway_enabledboolean required
ai_enabledboolean required
ai_training_enabledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.