remove webproxylog in memory with API PHP

Hello, I have the mikrotik hAP lite and through PHP API I’m trying to clean the webproxy log in mikrotik memory .
Can anyone guide me ?

thank you very much