Deleting Multiple WebUI Patch Policy

Hello team,

Is there a way to delete multiple WebUI Patch policies at the same time instead of going inside the patch policy and clicking on the delete button?

There was a lot of patch policy created by previous users and will take time for us to perform a cleanup since there are more than a hundred.

Maybe a SQL script to mark them as deleted from the DB?

Thanks in advance for any feedback.