System Administration > Configuration > Directory Service > Domains

Fetch all organization units for a Directory domain. (Deprecated)

Deprecated:
Use the following Policy API -
GET /policy/api/v1/infra/firewall-identity-stores/<firewall-identity-store-id>/org-units

Request:

Method:
POST
URI Path(s):
/api/v1/directory/domains/<domain-id>/org-units
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

POST https://{{NSX}}/api/v1/directory/domains/106e9dc9-4c4f-4396-9992-8ba3e477d89d/org-units

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DirectoryOrgUnitListResults+

Example Response:

{ "results": [ { "name": "Domain Controllers", "distinguished_name": "OU=Domain Controllers,DC=idfw,DC=local" } ], "result_count": 1 }

Required Permissions:

crud

Feature:

directory_service

Additional Errors: