Rename Document
Purpose
Using this API, you will be able to rename the document.
HTTP Request URL
https://{zohoapis_domain}/writer/api/v1/documents/{{document_id}}/meta
Path Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
document_id | String | Specify the unique id for the Writer document. |
Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
operations | JSONObject | Pass a String value through 'name' key inside the JSONObject. |
Note: You can also rename the document using this deluge task.
Sample request
Copiedcurl -X POST \
https://www.zohoapis.com/writer/api/v1/documents/h36bc2a6c50b2754a405880c1d1679a5f5be9/meta \
-H 'Authorization: Zoho-oauthtoken xxx.yyy.zzz' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F 'operations={"name": "Online Word Processor"}'