IN THIS LINK https://docs.openkm.com/apidoc/com/okm/6.3.2/com/openkm/api/OKMDocument.html#move-java.lang.String-java.lang.String-java…
It showed this :
public void move(String token, String docPath, String destPath) throws PathNotFoundException, ItemExistsException, AccessDeniedException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException
Description copied from interface: DocumentModule
Move a document to another location in the repository.
move
in interface DocumentModule
docPath
- The path that identifies an unique document.destPath
- The destination folder path.