Folder resource

Restore folder from recycle bin

OVERVIEW

Restore a deleted folder from recycle bin. The restore location is a folderid of the target folder where the specific folder is to be restored.  

Please note that Recycle bin is only available to the site admins and content admins and normal users will not be able to execute this API endpoint.

Request

POST  /folders/{folderid}/recycle?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 restored
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

Last Updated: Nov 08,2024