Drive > Files > File/Directory
Rename
Changed onRename a file/directory
post/2/drive/{drive_id}/files/{file_id}/rename
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/files/{file_id}/rename
- AuthHTTP bearer
Path parameters
drive_idinteger required
Drive identifier
file_idinteger required
File identifier
Request body
Response
OK
Example response
{
"result": "success",
"data": {
"cancel_id": "00000000-e89b-12d3-a456-000000000000"
}
}Changes
- warning
added the new
lock_errorenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning