code: def delete_snapshot(self, path, snapshotname, **kwargs):
          
          response = self._delete(path, 'DELETESNAPSHOT', snapshotname=snapshotname, **kwargs)
          assert not response.content
docs: Delete a snapshot of a directory