Clearing the Spark history server

How to clear the spark history server web logs. I tried deleting the files from the cluster , still the weblogs didnt get cleared. Can some one please help that regarding. I know it needs admin rights. Am using EMR for Spark