ZITADEL Docs
APIsCore ResourcesV1Instance Objects

ListOrgs

Search Organizations

Deprecated: use organization service v2 ListOrganizations instead.

Returns a list of organizations that match the requesting filters. All filters are applied with an AND condition.

POST
/orgs/_search

Request Body

application/json

query?

list limitations and ordering

sortingColumn?string

the field the result is sorted

Value in"ORG_FIELD_NAME_UNSPECIFIED" | "ORG_FIELD_NAME_NAME"
queries?

criteria the client is looking for

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/orgs/_search" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "totalResult": 0,
    "processedSequence": 0,
    "viewTimestamp": "1s"
  },
  "sortingColumn": "ORG_FIELD_NAME_UNSPECIFIED",
  "result": [
    {
      "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?