Sign in

List file permissions

documented

Lists permissions on a file or shared drive.

GET /drive/v3/files/{fileId}/permissionsDriveno 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}}/permissions?key={{DRIVE_API_KEY}}&pageSize={{$pageSize}}&pageToken={{$pageToken}}&supportsAllDrives={{$supportsAllDrives}}&includePermissionsForView={{$includePermissionsForView}}&useDomainAdminAccess={{$useDomainAdminAccess}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"