LUUP code to "clear" the dashboard banner

I would like to know if there is a way to clear the dashboard. I use the luup.task(“”,4,“”,handle) to clear one message but I would like to add a few variables to the dashboard and then just clear everything?

I am not aware of a clear-all for the dashboard message area. Whenever you write a new message with luup.task(…) you should retain the returned handle and use it to clear the message after an appropriate delay.

Thanks @RexBeckett. When you do a reload it clears the dashboard so imagined there was a way.