ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetDefaultOrg

Get Default Organization

Deprecated: use organization service v2 ListOrganizations instead.

Get the default organization of the Zitadel instance. If no specific organization is given on the register form, a user will be registered to the default organization.

GET
/orgs/default

Response Body

application/json

application/json

curl -X GET "https://loading/orgs/default"
{
  "org": {
    "id": "string",
    "details": {
      "sequence": 0,
      "creationDate": "1s",
      "changeDate": "1s",
      "resourceOwner": "string"
    },
    "state": "ORG_STATE_UNSPECIFIED",
    "name": "string",
    "primaryDomain": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?