LDAP Resources

Resource Description
LDAP candidate resources
GET <baseurl>/directory/candidates/<containerid> Lists the candidate resources (including existing resources) from the identified LDAP container. (See listCandidateResources.)
POST <baseurl>/directory/candidates/<containerid> Retrieve additional information about one candidate listed by listCandidateResources . (See getCandidateDetail.)
LDAP connections
GET <baseurl>/directory/connections List details of all the LDAP connection shared resources available to Directory Engine. (See listLdapConnections.)
LDAP containers
GET <baseurl>/directory/containers Lists the configuration detail of all LDAP containers to which the user has access permission. (See listContainers.)
POST <baseurl>/directory/container Saves the given LDAP container configuration. You can use this operation to create a new LDAP container or to update an existing one. (See saveContainer.)
DELETE <baseurl>/directory/container/<containerid> Deletes the configuration of the identified LDAP container. (See deleteContainer.)
GET <baseurl>/resources/export/<version> Export defined LDAP containers, resource mappings and push destinations, either for backup or for subsequent import to other environments. (See exportResources.)
POST <baseurl>/resources/import Import a previously exported object containing details of the exported LDAP containers, resource mappings and push destinations. (See importResources.)
LDAP entries
GET <baseurl>/directory/query/<ldapalias>/<ldapquery>

or

POST <baseurl>/directory/query/<ldapalias>/<ldapquery>

Enters an LDAP query and returns the Distinguished Names (DNs) of all those entries that match the query. (See executeLdapQuery.)

Note: Use the second variant for complex or large LDAP queries, where putting the query in the URL is impractical

GET <baseurl>/directory/entry/<ldapalias>/<ldapdn> Get details of a specified LDAP entry. (See getLdapEntry.)
GET <baseurl>/directory/attributes/<ldapalias>/<ldapquery>

or

POST <baseurl>/directory/attributes/<ldapalias>

Lists the names of those attributes that are available from the LDAP entries associated with the named LDAP connection. (See listAttributeNames.)

Note: Use the second variant for complex or large LDAP queries, where putting the query in the URL is impractical

POST <baseurl>/resourcelookup/findbydn/<version> List the resources that match a specified LDAP DN. (See lookupUser.)