DELETE
gdrive_files_delete.py
Requires
https://www.googleapis.com/auth/drive. Costs 1 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Permanently delete a file owned by the user without moving it to the trash. If the target is a folder, descendants owned by the user are also deleted. To move a file to the trash instead, use files_update with trashed=true.
from charter.packs import gdrive
result = await gdrive.files_delete.ainvoke({"fileId": ...})
https://www.googleapis.com/auth/drive. Costs 1 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
fileId * | string | The ID of the file. |
| Field | Type | Description |
|---|---|---|
supportsAllDrives | boolean | Whether the requesting application supports both My Drives and shared drives. |
Was this page helpful?