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

orgIdstringRequired
Organization that owns the document.
documentIdstringRequired
Document to move.

Headers

X-Account-IdstringRequired
Account that owns the organization.

Request

This endpoint expects an object.
folderstringRequired
Destination folder. It must already exist.

Response

The moved document. Moving it to its current folder returns the current document.
documentobject
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