Deleting a webhook message

I am trying to design a script that can delete a message sent by a webhook. Is this possible…? If so, how would I do it.