update-drive-file
Upload a new version of an existing file in a Dooray drive using its drive ID, file ID, and absolute file path; replaces file content and returns the new version number.
Instructions
Upload a new version of an existing file in a Dooray drive.
Required:
driveId: The drive ID
fileId: The file ID to update
filePath: Absolute path to the new version of the file
Example: { "driveId": "123", "fileId": "456", "filePath": "/Users/name/updated-document.pdf" }
Returns: File ID and new version number.
Note: This replaces the file content with a new version. The file must exist at the specified path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID to update | |
| driveId | Yes | Drive ID | |
| filePath | Yes | Absolute path to the new file version |