code: def unpublish(self, path):
          
          
          data = """
  <propertyupdate xmlns="DAV:">
    <remove>
      <prop>
        <public_url xmlns="urn:yandex:disk:meta" />
      </prop>
    </remove>
  </propertyupdate>
          """
          
          _check_dst_absolute(path)
          resp = self._sendRequest("PROPPATCH", addUrl=path, data=data)
          if resp.status_code == 207:
              pass
          else:
              raise YaDiskException(resp.status_code, resp.content)
docs: Make public file or folder private (delete public url)