Create team organizations
v1.5.0 adds one endpoint to the console API. Chat requests and the existing console routes behave as they did in v1.4.0.
Creating an organization
Any signed-in user can create a team organization with POST /console/v1/orgs, sending a JSON body with a name of 1 to 64 characters. The response is the new organization, with the kind team and the role owner. A name that is empty, too long or contains control characters answers 400.
What the owner gets
The creator is the organization's owner and can use the same billing endpoints under /console/v1/orgs/{org}/billing as any other organization, including setting its monthly limit. Apps, members and spend are tracked per organization, so a new team starts empty.
A limit of ten
A user can own up to 10 team organizations. The eleventh create answers 400. Every create is recorded in the organization's audit log. The personal organization is not counted and is created on first use, as before.