Sign in

Delete file parent (v2)

documented

Removes a parent from a file (v2).

DELETE /drive/v2/files/{fileId}/parents/{parentId}Driveno 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/{{$fileId}}/parents/{{$parentId}}" \
  -X DELETE \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"