Files

Rename and/or move a file or folder

parentId: null moves the node back to the drive root; an absent parentId leaves the parent alone. At least one of name/parentId is required. Only the author or a company admin (manageCompanyFiles) may change a node.

patch/client/files/{nodeId}

Request

  • Base URL: https://api.atako.ai
  • URL: https://api.atako.ai/client/files/{nodeId}
  • Auth: HTTP bearer

Path parameters

nodeIdstring required

File node id

Request body

namestring
parentIdstring uuid nullable

Destination folder, or null for the drive root.

Response

idstring uuid required
clientIdstring uuid required
parentIdstring uuid nullable
type'folder' | 'file' required
namestring required
storagePathstring nullable
mimeTypestring nullable
fileSizeinteger nullable
agentTagstring uuid nullable
uploadSource'client' | 'agent' nullable
createdAtstring date-time required
updatedAtstring date-time

Changes

No recorded changes to this operation across all 2 revisions of this API.