ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddOrg

Create Organization

Deprecated: use organization service v2 CreateOrganization instead

Create a new organization. Based on the provided name a domain will be generated to be able to identify users within an organization.

POST
/orgs

Request Body

application/json

name*string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/orgs" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "string",
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?