Drive Folders

Edit file in folder

Changed on

Update a file's filename and/or client visibility within a folder. Supports both regular and client-visible files.

patch/drive_folders/{id}/edit_file_in_folder

Request

  • Base URL
    https://app2.gettruss.io/api/v1
  • URL
    https://app2.gettruss.io/api/v1/drive_folders/{id}/edit_file_in_folder
  • Auth
    HTTP bearer

Path parameters

idinteger required

ID of the drive folder containing the file

Request body

attachment_idinteger

ID of the file attachment to edit

filenamestring

New filename

client_visibleboolean

Whether the file should be visible to clients. If changed, the file may be moved between internal and client-visible collections.

Response

File updated successfully

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property ////// to the response with the status