api for clean up elasticbeanstalk application