Drive Folders

Move file between folders

Changed on

Move a file from one folder to another. Files cannot be moved into the root folder.

post/drive_folders/move_file_to_folder

Request

  • Base URL
    https://app2.gettruss.io/api/v1
  • URL
    https://app2.gettruss.io/api/v1/drive_folders/move_file_to_folder
  • Auth
    HTTP bearer

Request body

source_folder_idinteger required

ID of the folder currently containing the file

destination_folder_idinteger required

ID of the destination folder

attachment_idinteger required

ID of the file attachment to move

Response

File moved successfully (response includes updated source folder)

Changes

    • info

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

    • info

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