System Administration > Configuration > Directory Service > LDAP Servers

Update a LDAP server for directory domain (Deprecated)

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

Request:

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

Example Request:

PUT https://<nsx-mgr>/api/v1/directory/domains/756c3f9f-c03a-43fc-9414-400a1891a239/ldap-servers/01ad13c6-23c1-4175-ad3f-881eac8e45ef { "host": "10.161.34.143", "username": "dummy", "password": "dummy", "display_name": "nimbus test LDAP", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "port": 389, "protocol": "LDAP", "_revision": 1 }

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:

crud

Feature:

directory_service

Additional Errors: