Rename a personal file

Change the relative path of your personal file. Ownership, privacy, and bytes remain unchanged. This never publishes the file or attaches it to a task.

patch/api/me/files/{fileId}

Request

  • Base URL
    https://www.toma.com
  • URL
    https://www.toma.com/api/me/files/{fileId}
  • Auth
    • HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

fileIdstring required

Request body

pathstring required

Response

File operation result.

idstring required
pathstring required
cautionstring nullable required

A warning to show the user before they download or open this kind of file (archives, scripts, older Office files, web pages); null when there is none.

sizeinteger required
receivedinteger required
status'uploading' | 'ready' | 'deleting' required
createdAtstring date-time required
canWriteboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.