How to remove the terminals associated with the application from the configuration