Follow
Rename a document or folder (Not Yet Implemented)

Renames a document or folder with the given ID in the external system.

URL

PUT /rename

Query Parameters

Name  Description
id The document or folder ID to rename
name  The new name of the document or folder

 

Response

A JSON string indicating success or failure, as specified in the Error Handling section below.

Example

PUT https://www.acme.com/api/rename

-------------------------------

id=1234

name=Folder B ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

-------------------------------

returns

{

status: “success”

}

returns

{

status: “failure”, error: “Folder cannot be renamed because a folder with that name already exists.”

}