/folders/{folder_id}/copyCopy folder
Creates a copy of a folder within a destination folder.
The original folder will not be changed.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
A 400 is returned: Returns an error if some of the parameters are missing or not valid.
-
bad_requestwhen a parameter is missing. -
item_name_too_longwhen the new folder name is too long. A 403 is returned: Returns an error when the user does not have the right permissions to copy a folder. -
forbidden_by_policy: Returned if copying a folder is forbidden due to information barrier restrictions. A 404 is returned: Returns an error if either the source or destination folder could not be found, or the authenticated user does not have access to either folders. -
not_foundwhen the authenticated user does not have access to the parent folder. A 409 is returned: Returns an error if a folder by this name already exists in the destination folder, or if the destination folder is locked. -
item_name_in_usewhen a folder with the same name already exists. A 500 is returned: Returns an error when trying to copy the root folder. Any other status is an error: An unexpected client error.