Rename File
Rename a file within the same space. The file will be renamed to the new name provided in the request. The file identifier will remain the same. The rename operation is immediate and the response contains the updated file name.
Prerequisites
Section titled “Prerequisites”- A file should be created. To know more about uploading a file refer here
Request
Section titled “Request”POST {baseUrl}/spaces/{spaceId}/files/{fileId}/rename?complete=true-
HEADER:
- Authorization:
Bearer {tid token}
- Authorization:
-
BODY:
name- new name of the file
Response
Section titled “Response”To know more about the rename file API refer here.