I am testing Restapi , however I have check with all API including account .. I have not got API for user group and directory service. LDAP DN or CN name ..
Locally it's under user administrator directory group and under security directory settings .
#restapi