code: def delete_messages(self, messages):
          
          url = "/2/messages/?%s" % urlencode([('ids', ",".join(messages))])
  
          data = self._delete_resource(url)
          return data
docs: Delete existing messages.
  
          http://dev.wheniwork.com/#delete-existing-message