System Administration > Configuration > Directory Service > Domains

List all configured domains (Deprecated)

Deprecated:
Use the following Policy API -
GET /policy/api/v1/infra/firewall-identity-stores

Request:

Method:
GET
URI Path(s):
/api/v1/directory/domains
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/directory/domains

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "DirectoryAdDomain", "description": "Active directory domain nimbustest.com", "id": "876f66eb-64c1-4b0c-9489-ae8c6ebfcc32", "display_name": "NIMBUS TEST", "ldap_servers": [ { "resource_type": "DirectoryLdapServer", "id": "a8dacae0-6e4f-46b6-a962-eeeea7a3ea37", "display_name": "nimbus ldap test", "protocol": "LDAP", "port": 389, "host": "10.192.210.96", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "_last_modified_user": "admin", "_last_modified_time": 1531939962738, "_system_owned": false, "_create_user": "admin", "_create_time": 1531939962738, "_protection": "NOT_PROTECTED", "_revision": 0 } ], "name": "nimbustest.com", "sync_settings": { "delta_sync_interval": 100 }, "base_distinguished_name": "DC=nimbustest,DC=com", "netbios_name": "NIMBUSTEST", "_last_modified_user": "admin", "_last_modified_time": 1531939962695, "_system_owned": false, "_create_user": "admin", "_create_time": 1531936487738, "_protection": "NOT_PROTECTED", "_revision": 2 } ] }

Required Permissions:

read

Feature:

directory_service

Additional Errors: