Use the delete-admin-object subcommand to delete an administered objects.
List the administered objects by using the list-admin-objects(1) subcommand.
If necessary, notify users that the administered object is being deleted.
Delete an administered object by using the delete-admin-object(1) subcommand.
This example deletes the administered object with the JNDI name jms/samplequeue.
asadmin> delete-admin-object jms/samplequeue Command delete-admin-object executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-admin-object at the command line.