Skip to main content
POST
Create an organization

Authorizations

Authorization
string
header
required

Dairo API key, e.g. dairo_test_... or dairo_live_...

Headers

X-Dairo-Org
string

Active-organization selector. The project id the dashboard request acts in; the backend validates membership and falls back to the caller's default/only org when absent or invalid.

Body

application/json
name
string
required

Display name for the new organization.

Maximum string length: 80

Response

Created organization

object
enum<string>
required
Available options:
organization
id
string
required
name
string
required
slug
string
required
role
string
required
vanitySlug
string | null
createdAt
string | null