latestOpenAPI 3.1.02026-08-223321,1001.6 MB

2134ebffd1ef

organization-admin

Create Organization

Create a new organization.

Platform admin only. Creates database records and optionally provisions an Auth0 organization via Temporal workflow.

post/admin/organizations

Request body

namestring required

Organization name (internal identifier, lowercase, alphanumeric with underscores/hyphens)

display_namestring required

Display name shown in UI

config_namestring required

Config name linking to typed config (use 'default' for self-serve)

provision_auth0boolean

Create a new Auth0 organization

existing_auth0_org_idstring nullable

Existing Auth0 organization ID (if not provisioning new)

is_invite_onlyboolean

When true, new users can only join via an admin-issued invite link

idstring nullable

Pre-generated organization UUID for cross-environment consistency

Example request

{
  "name": "acme_corp",
  "display_name": "Acme Corporation",
  "config_name": "acme"
}

Response

Successful Response

auth0_provisionedboolean

Whether Auth0 organization was created