To delete an administered object from the object store, you use the delete subcommand of the imqobjmgr command, specify lookup name, type, and location of the object to be deleted. The command shown in Example 8–4 deletes the object that was added in Adding a Destination above.
imqobjmgr delete -l "cn=myTopic" -j "java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory" -j "java.naming.provider.url=ldap://mydomain.com:389/o=imq" -j "java.naming.security.principal=uid=homerSimpson,ou=People,o=imq" -j "java.naming.security.credentials=doh" -j "java.naming.security.authentication=simple" -t t |