NSX-T Data Center REST API
Update a directory domain (Deprecated)
Update to any field in the directory domain will trigger a full sync Deprecated:Use the following Policy API -
PUT /policy/api/v1/infra/firewall-identity-stores/<firewall-identity-store-id>
Request:
Method:
              PUT
            URI Path(s):
              
                /api/v1/directory/domains/{domain-id}
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    DirectoryAdDomain+
  Example Request:
PUT https://<nsx-mgr>/api/v1/directory/domains/e38b4362-0638-4bbe-89ad-c76cd9b3167d { "resource_type": "DirectoryAdDomain", "description": "Active directory domain nimbustest.com", "display_name": "NIMBUS TEST", "base_distinguished_name": "DC=nimbustest,DC=com", "netbios_name": "NIMBUSTEST", "name": "nimbustest.com", "ldap_servers": [ { "resource_type": "DirectoryAdLdapServer", "display_name": "nimbus ldap test", "host": "10.192.210.96", "username": "dummy", "password": "dummy", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "port": 389, "protocol": "LDAP" } ], "sync_settings": { "delta_sync_interval": 100 }, "selective_sync_settings": { "enabled": true, "selected_org_units": [ "OU=OU11,OU=OU1,DC=nimbustest,DC=com", "OU=OU21,OU=OU1,DC=nimbustest,DC=com" ] } "_revision": 1 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    DirectoryAdDomain+