macOS / binaries /

ldapdelete

/usr/bin/ldapdelete
LDAP delete entry tool

ldapdelete is a shell-accessible interface to the ldap_delete_ext library call. ldapdelete opens a connection to an LDAP server, binds, and deletes one or more entries. If one or more DN arguments are provided, entries with those Distinguished Names are deleted.

source: man