Method: grants.patch

  • 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/androidpublisher OAuth scope.

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

string

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

string ( FieldMask format)

Optional. The list of fields to be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: