Files
Rename or move a file
Renames the file (name) and/or moves it (folderId or folderPath, mutually exclusive; null folderId or path / targets the root). When both a rename and a move are requested they apply in sequence — rename, then move — and a move failure leaves the rename applied. A folderPath creates any missing folders along the path (mkdir -p), matching upload prepare.
patch/api/v1/files/{fileId}
Request
- Base URLhttps://app.khotan.com
- URLhttps://app.khotan.com/api/v1/files/{fileId}
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
fileIdstring required
Request body
Response
The updated file record.
Changes
No recorded changes to this operation across all 1 revision of this API.