Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Instance Objects

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
/admin/v1/orgs/_search

Request Body

application/json
  1. body
query?

list limitations and ordering

sortingColumn?sorting_column

the field the result is sorted

Value in"ORG_FIELD_NAME_UNSPECIFIED""ORG_FIELD_NAME_NAME"
queries?array<|||>

criteria the client is looking for

Response Body

Success

application/json
  1. response
details?
sortingColumn?sorting_column
Value in"ORG_FIELD_NAME_UNSPECIFIED""ORG_FIELD_NAME_NAME"
result?array<>
Example Request
curl -X POST 'https://example.com/admin/v1/orgs/_search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "totalResult": 0,    "processedSequence": 0,    "viewTimestamp": "2023-01-15T01:30:15.01Z"  },  "sortingColumn": "ORG_FIELD_NAME_UNSPECIFIED",  "result": [    {      "id": "string",      "details": {        "sequence": 0,        "creationDate": "2023-01-15T01:30:15.01Z",        "changeDate": "2023-01-15T01:30:15.01Z",        "resourceOwner": "string"      },      "state": "ORG_STATE_UNSPECIFIED",      "name": "string",      "primaryDomain": "string"    }  ]}

Was this page helpful?