Copy folder
OVERVIEW
The method copies a given folder from one folder location to another folder location. The target folder location can be within another site. Please note that this method differs from the move operation in that the http operation is a POST rather than PUT, as a new item is created because of the copy operation rather than the details of an existing items being changed.
This method will use the same rules as used by the web interface. The version history and permissions of the folder being copied are not copied over to the new location, but are to be inherited from the parent folder under which the folder is copied.
Request
POST /folders/{folderid}/parent?targetfolder=<targetfolderid>
Parameters
Parameter Name | Value | Description |
---|---|---|
folderid (required) | Int | The ID for the folder in question |
targetfolderid(required) | Int | The target folder id of the folder under which the folder is to be copied |
Sourceclient (optional) | String | The source client for changes API |
Request body
No request body is required for this call.
Response
API endpoint returns a 200 OK in case of a successful operation.
Comments
0 Comments