Removeapplicationinstance

Removes an application instance.