System Administration > Configuration > Directory Service > LDAP Servers

Get a specific LDAP server for a given directory domain (Deprecated)

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

Request:

Method:
GET
URI Path(s):
/api/v1/directory/domains/<domain-id>/ldap-servers/<server-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/directory/domains/756c3f9f-c03a-43fc-9414-400a1891a239/ldap-servers/01ad13c6-23c1-4175-ad3f-881eac8e45ef

Successful Response:

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

Example Response:

{ "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: