AI-generated Key Takeaways
-
Updates a user's access to a specific package within the Google Play Developer API.
-
The request must specify the grant resource name using a specific pattern, which includes the developer ID, user email, and package name or app ID for draft apps.
-
Optionally, a field mask can be provided to specify which fields of the grant should be updated.
-
The request and response bodies both utilize the
Grant
object to represent the user's access permissions. -
Authorization requires the
https://www.googleapis.com/auth/androidpublisher
OAuth 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