docs: def delete_multiple(self, ids=None, messages=None):
          """Execute an HTTP request to delete messages from queue.
  
          Arguments:
          ids -- A list of messages id to be deleted from the queue.
          messages -- Response to message reserving.
          """
          url = "queues/%s/messages" % self.name
  
          items = None
          if ids is None and messages is None:
               raise Exception('Please, specify at least one parameter.')
          if ids is not None:
             items = [{'id': item} for item in ids]
          if messages is not None:
             items = [{'id': item['id'], 'reservation_id': item['reservation_id']} for item in
                   messages['messages']]
  
          data = json.dumps({'ids': items})
  
          result = self.client.delete(url=url, body=data,
                                      headers={'Content-Type': 'application/json'})
          return result['body']