Create an organization for the signed-in user
Creates an organization and its creator's Owner membership. Only a verified user session may call this endpoint; no existing organization is required. Repeating the same Idempotency-Key and name observes the same creation, never recreating revoked membership. Creation does not change the caller's token, because organization scope is carried by the access token; a client must obtain a token for this organization before project mutations. The CLI and MCP do that in the same call and need no second login.
Request
- Base URL: https://app.ohmyho.st
- URL: https://app.ohmyho.st/v1/organizations
- Auth: HTTP bearer
Headers
Optional caller-provided correlation identifier.
Stable creator-scoped key; repeat unchanged to observe an incomplete creation.
Request body
Response
Organization and Owner membership are persisted. Idempotent replay returns the same identity.
Changes
No recorded changes to this operation across all 1 revision of this API.