NSX-T Data Center REST API

Search the LDAP identity source

Search the LDAP identity source for users and groups that match the given filter_value. In most cases, the LDAP source performs a case-insensitive search.

Request:

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

Example Request:

POST /policy/api/v1/aaa/ldap-identity-sources/airius.com/search?filter_value=john

Successful Response:

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

Example Response:

{ "results": [ { "dn": "CN=Johnson Building Administrators,DC=airius,DC=com", "type": "GROUP", "common_name": "Johnson Building Administrators", "principal_name": "Johnson Building [email protected]" }, { "dn": "CN=John Jensen,CN=Users,DC=airius,DC=com", "type": "USER", "common_name": "John Jensen", "principal_name": "[email protected]" }, { "dn":"CN=Ellen Johnson,CN=Users,DC=airius,DC=com" "type": "USER" "common_name": "Ellen Johnson", "principal_name": "[email protected]" } ] }

Required Permissions:

crud

Feature:

users_configuration

Additional Errors: