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.”

}

Audited: 6/27/18

This article last updated on 2018-06-27 21:54:44 UTC