Move file to trash (v2)
documentedMoves a file to the trash (v2).
POST /drive/v2/files/{fileId}/trashDriveno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://www.googleapis.com/drive/v2/files/{{$fileId}}/trash?supportsAllDrives={{SUPPORTS_ALL_DRIVES}}&includePermissionsForView={{INCLUDE_PERMISSIONS_FOR_VIEW}}&includeLabels={{INCLUDE_LABELS}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json"