NSX-T Data Center REST API

Update an existing LDAP identity source

Update the configuration of an existing LDAP identity source. You may wish to verify the new configuration using the POST /aaa/ldap-identity-sources?action=probe API before changing the configuration. Note that if you are using LDAP on an active and standby NSX-T Global Manager in a federated environment, you must use the same name for your LDAP identity sources on the active and standby Global Managers.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/aaa/ldap-identity-sources/<ldap-identity-source-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ActiveDirectoryIdentitySource+
OpenLdapIdentitySource+

Example Request:

PUT /policy/api/v1/aaa/ldap-identity-sources/airius-ad { "id": "airius-ad", "resource_type": "ActiveDirectoryIdentitySource", "display_name": "Airius LDAP", "domain_name": "airius.com", "user_base_dn": "CN=Users, DC=airius, DC=com", "group_base_dn": "CN=Users, DC=airius, DC=com", "ldap_servers": [ "url": "ldap://ldap-vip01.corp.airius.com", "use_starttls": true, "bind_identity": "[email protected]", "password": "forever big xray tempo" "certificates": [ "BEGIN_CERTIFICATE <certificate> END_CERTIFICATE", ] ], "_revision": 1 }

Successful Response:

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

Example Response:

200 OK { "id": "airius-ad", "resource_type": "ActiveDirectoryIdentitySource", "display_name": "Airius LDAP", "domain_name": "airius.com", "user_base_dn": "CN=Users, DC=airius, DC=com", "group_base_dn": "CN=Users, DC=airius, DC=com", "ldap_servers": [ "url": "ldap://ldap-vip01.corp.airius.com", "use_starttls": true, "bind_identity": "[email protected]", "certificates": [ "BEGIN_CERTIFICATE <certificate> END_CERTIFICATE", ] ], "_last_modified_user": "admin", "_last_modified_time": 1531939962695, "_system_owned": false, "_create_user": "admin", "_create_time": 1531936487738, "_protection": "NOT_PROTECTED", "_revision": 2 }

Required Permissions:

crud

Feature:

users_configuration

Additional Errors: