Site icon LDAP.com

The LDAP Delete Operation

A delete operation may be used to remove an entry from a directory server. The only element of the delete request is the DN of the entry to remove. In most cases, the target entry must be a leaf entry (i.e., an entry without any subordinates), although some servers may support the inclusion of a subtree delete request control to allow an entry to be deleted along with its subordinates.

When a delete operation completes, the server will return a basic response that includes a result code, and optional matched DN, diagnostic message, referrals, and/or response controls. Some of the most common types of results for a delete operation include:

Exit mobile version