Okapi Okapi

Google APIs enforceExpansiveAccess query parameter removal on /drive/v3/files/{id}/permissions*

Deprecated, no dateSubscribe to Google APIsShare

Google APIs has deprecated the enforceExpansiveAccess query parameter without a shutdown date. The deprecation applies to all methods in the permissions resource, including calls to /drive/v3/files/{id}/permissions*. Requests relying on this parameter will eventually fail once it is removed.


Calls it hits

  • /drive/v3/files/{id}/permissions*
  • query parameter enforceExpansiveAccess

What to use instead of these calls

Use the folders with limited access setting to restrict item access.

In Google APIs's words

Generally Available: The enforceExpansiveAccess query parameter is now deprecated for all methods in the permissions resource (v2 and v3).

Google APIs, Announcement

Facts

API
Google APIs www.googleapis.com
Kind
Parameter removal
Announced
February 25, 2026
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Google APIs's own pages

Questions

When does this change take effect?

Google APIs deprecated /drive/v3/files/{id}/permissions*, query parameter enforceExpansiveAccess without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Google APIs has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Google APIs 8

  1. GET /youtube/v3/searchParameter removal Stopped working
  2. POST /youtube/v3/comments/markAsSpamEndpoint removal Stopped working
  3. /youtube/v3/captionsParameter removal Stopped working
  4. GET /youtube/v3/commentThreadsParameter removal Stopped working
  5. GET /analytics/v3/data/*Version retirement Stopped working
  6. /androidcheck/v1/*Removal Stopped working
  7. GET /customsearch/v1/siterestrictEndpoint removal Stopped working
  8. GET /customsearch/v1*Endpoint removal Stops workingin 56 days

All 6 Google APIs API v3 breaking changes →


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Google APIs

Hear about each breaking change Google APIs announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Google APIs

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.