v1

latestOpenAPI 3.1.02026-08-06492794.7 KB
Drive Folders

Edit file in folder

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

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