Use the delete-custom-resource subcommand in remote mode to delete a custom resource.
Ensure that the server is running.
Remote subcommands require a running server.
List the custom resources by using the list-custom-resources(1) subcommand.
Delete a custom resource by using the delete-custom-resource(1) subcommand.
This example deletes a custom resource named sample-custom-resource.
asadmin> delete-custom-resource sample_custom_resource Command delete-custom-resource executed successfully.
You can also view the full syntax and options of the subcommand by typing asadmin help delete-custom-resource at the command line.