org

Create an organization.

Changed on

Creates an organization with the caller as its owner. Requires a user login, not an API key.

post/v1/org

Request

Request body

displayNamestring required

Human readable name, shown in the console.

namestring required

The slug: lowercase alphanumeric plus -/_, 3 to 50 characters, unique and final.

Response

Organization created on the default plan with the caller as its owner; the body carries the tenant id that Smol-Tenant names.

canManageMembersboolean required

True when the caller may invite/change-role/remove members (owner/admin).

displayNamestring nullable

The display name the owner may rename; null when the account is not an organization.

isOrganizationboolean required

True when the account is an organization (vs an individual login).

namestring nullable

The slug, unique and final once chosen; null when the account is not an organization.

tenantIdstring nullable

The org's tenant id for Smol-Tenant; null when the account is not an organization.

Changes