NSX-T Data Center REST API
Create a LDAP server for directory domain (Deprecated)
More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects. If more than one LDAP server is configured, NSX will try all the servers until it is able to successfully connect to one. Deprecated:Use the following Policy API -
POST /policy/api/v1/infra/firewall-identity-stores/<firewall-identity-store-id>/ldap-servers/<ldap-server-id>
Request:
Method:
              POST
            URI Path(s):
              
                /api/v1/directory/domains/{domain-id}/ldap-servers
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    DirectoryLdapServer+
  Example Request:
POST https://<nsx-mgr>/api/v1/directory/domains/756c3f9f-c03a-43fc-9414-400a1891a239/ldap-servers { "host": "10.161.34.143", "username": "dummy", "password": "dummy", "display_name": "nimbus LDAP", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "port": 389, "protocol": "LDAP" }Successful Response:
Response Code:
                201 Created
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    DirectoryLdapServer+