def delete(self, session):
    request = self._prepare_request()
    headers = {'Client-ID': (self.client_id or str(uuid.uuid4())), 'X-PROJECT-ID': (self.project_id or session.get_project_id())}
    request.headers.update(headers)
    response = session.delete(request.url, headers=headers)
    self._translate_response(response, has_body=False)
    return self
def delete(self, session):
    request = self._prepare_request()
    headers = {'Client-ID': (self.client_id or str(uuid.uuid4())), 'X-PROJECT-ID': (self.project_id or session.get_project_id())}
    request.headers.update(headers)
    response = session.delete(request.url, headers=headers)
    self._translate_response(response, has_body=False)
    return self