update_file
Update a file's name, folder, star status, or trash state in one call, changing only the fields you specify.
Instructions
Rename, move, star/unstar, trash/restore a file in one call. Pass only the fields you want to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| starred | No | ||
| trashed | No | true = move to trash, false = restore from trash. | |
| parentFolderId | No | null moves to root. |