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