rename

abstract suspend fun rename(fileId: String, newName: String, shareId: String? = null)

Sets the file with fileId to a newName.

Throws

File is not found in database.

Unauthorized access.

Forbidden access.