--- title: "Get All Admin Domains" slug: "get-all-admin-domains-2" tags: ["IPS 11.1.x", "Reference"] updated: 2026-11-19T12:57:21Z published: 2026-11-19T12:57:21Z canonical: "docs.trellix.com/get-all-admin-domains-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Get All Admin Domains This URL gets details of all admin domains in the Manager starting from root AD and all child ADs including hierarchy information. ### Resource URL GET /domain ### Request Parameters None ### Response Parameters Following fields are returned if the request parameters are correct, otherwise error details are returned. | Field Name | Description | Data Type | | --- | --- | --- | | `DomainDescriptor` | Domain details | Object | Details of DomainDescriptor: | Field Name | Description | Data Type | | --- | --- | --- | | `id` | Domain Id | Number | | `name` | Domain name | String | | `childdomains` | List of domain descriptor object | Array | ### Example **Request** `GET`[https:///sdkapi/domain](https://<nsm_ip>/sdkapi/domain) **Response** ``` {  "DomainDescriptor": {    "childdomains": [      {        "childdomains": null,        "id": 102,        "name": "Test Child Domain 2"      },      {        "childdomains": [          {            "childdomains": [              {                "childdomains": null,                "id": 104,                "name": "Test Child Domain 1.1.1"              }            ],            "id": 103,            "name": "Test Child Domain 1.1"          }        ],        "id": 101,        "name": "Test Child Domain 1"      }    ],    "id": 0,    "name": "My Company"  } } ``` ### Error Information Following error codes are returned by this URL: | S.No | HTTP Error code | SDK API errorId | errorMessage | | --- | --- | --- | --- | | 1 | 400 | 4501 | Unable to get the Manager details |