Move document group

This endpoint allows users to move a document group to another folder. When a document group is moved, all its documents are moved to the same folder except documents in the Deleted folder (Deleted from Trash) and documents that are located in the Shared folders.

post/v2/document-groups/{document_group_id}/move

Request

Path parameters

ID of the document group

Headers

application/json

Request body

folder_idstring required

ID of the folder to move the document group to. Allowed folder types:

  • Documents and custom folders
  • Archive and its custom folders
  • Shared Documents folders
with_shared_documentsboolean

Whether to move shared documents that are in this document group. With this parameter, a document group can only be moved to trash.

Example request

{
  "folder_id": "2cb6ea1d58a84bc085b3ef2c880378d35e4881b5"
}

Response

Success, no content

object required

Changes

No recorded changes to this operation across all 1 revision of this API.