Sign in

Update file parents (add/remove)

documented

Modifies a file's parents via the addParents/removeParents semantics.

PATCH /drive/v3/files/{fileId}/parentsDriveno 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/v3/files/{{$fileId}}?addParents={{$addParents}}&removeParents={{$removeParents}}&supportsAllDrives={{$supportsAllDrives}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{}'
Update file parents (add/remove) · Google Drive · OpenIntegrations