Using the command line

You can use the commands provided here at delete an object class that specifies a set of attributes.

About this task

View the object classes contained in the schema issue the command:
idsldapsearch -b cn=schema -s base objectclass=* objectclasses
Select the object class you want to delete and issue the following command:
idsldapmodify -D <adminDN> -w <adminPW> -i <filename>
where <filename>contains:
dn: cn=schema
changetype: modify
delete: objectclasses
objectclasses: ( <myobjectClass-oid> NAME '<myObjectClass>' 
DESC '<An object class I defined for my LDAP application>'
SUP '<objectclassinheritance>' <objectclasstype > 
MUST (<attribute1> $ <attribute2>) > 
MAY (<attribute3> $ <attribute4>) )