AI-generated Key Takeaways
- 
          This document provides a reference for updating user access to a package using a PATCH request. 
- 
          The request utilizes gRPC Transcoding syntax with specific path and query parameters. 
- 
          The request and response bodies contain an instance of the Grant resource. 
- 
          Successful execution requires the https://www.googleapis.com/auth/androidpublisherOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates access for the user to the given package.
HTTP request
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/{grant.name=developers/*/users/*/grants/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| grant.name | 
 Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{packageName}". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name. | 
Query parameters
| Parameters | |
|---|---|
| updateMask | 
 Optional. The list of fields to be updated. This is a comma-separated list of fully qualified names of fields. Example:  | 
Request body
The request body contains an instance of Grant.
Response body
If successful, the response body contains an instance of Grant.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/androidpublisher