Rename a document or folder (not yet implemented)
Last update: November 7, 2023
CREATED FOR:
- Developer
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."
}
recommendation-more-help
5f00cc6b-2202-40d6-bcd0-3ee0c2316b43