Move a document to another folder
Move a document to another folder.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.
Path parameters
orgId
Organization that owns the document.
documentId
Document to move.
Headers
X-Account-Id
Account that owns the organization.
Request
This endpoint expects an object.
folder
Destination folder. It must already exist.
Response
The moved document. Moving it to its current folder returns the current document.
document
The document after the move, in the lean shape.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error

