ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetOrgByID

Get Organization By ID

Deprecated: use organization service v2 ListOrganizations instead.

Returns an organization by its ID. Make sure the user has the permissions to access the organization.

GET
/orgs/{id}

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://loading/orgs/string"
{
  "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?