Sign in

Untrash file (v2)

documented

Restores a file from the trash (v2).

POST PUT /drive/v2/files/{fileId}/trashDriveno implementation yet0 runs
No 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/{{$file_id}}/trash" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json"
Untrash file (v2) · Google Drive · OpenIntegrations