Skip to content

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.

  • A file should be created. To know more about uploading a file refer here
POST {baseUrl}/spaces/{spaceId}/files/{fileId}/rename?complete=true
  • HEADER:

    • Authorization: Bearer {tid token}
  • BODY:

    • name - new name of the file

To know more about the rename file API refer here.