Rename Move and Audit Document
A 3-step recipe with Microsoft Word. We can help you get access.
Recipe · 3 steps
Rename Move and Audit Document
with Microsoft Word
Rename a document, relocate it, and review its versions.
- Rename the document by updating its name metadata. Graph returns 200 with the updated drive item.
- Move the document into the destination folder by updating its parent reference. Graph returns 200 with the moved drive item.
- List the version history of the relocated document so the change can be audited. Graph returns 200 with the collection of versions.
What you'll need to have ready
- itemId: The drive item identifier of the document.
- newName: The new name to apply to the document.
- targetFolderId: The identifier of the destination parent folder.
For your developer
Arazzo workflow microsoft-word:rename-move-audit, 3 operations: updateDriveItem → moveDriveItem → listVersions. Specs on APIs.io.