System Administration > Configuration > Directory Service > LDAP Servers

List all configured domain LDAP servers (Deprecated)

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

Request:

Method:
GET
URI Path(s):
/api/v1/directory/domains/{domain-id}/ldap-servers
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/directory/domains/756c3f9f-c03a-43fc-9414-400a1891a239/ldap-servers

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "DirectoryLdapServer", "id": "01ad13c6-23c1-4175-ad3f-881eac8e45ef", "display_name": "nimbus test LDAP", "protocol": "LDAP", "port": 389, "host": "10.161.34.143", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "enabled": true, "_create_user": "admin", "_create_time": 1521154561239, "_last_modified_user": "admin", "_last_modified_time": 1521154779064, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 } ] }

Required Permissions:

read

Feature:

directory_service

Additional Errors: