Move document to new folder or change scope
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The ID of the document to move. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.
The path of the destination folder. Use null to move the document to the root level (no folder).
Optional sharing scope for the document:
organization - Organization-wide accessrestricted - Limited accessIf not provided, the scope will be computed based on the document or the destination folder.
Note: When providing a scope, it must match the destination folder's scope.
organization, restricted Document moved successfully
true