Method: grants.patch

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}".

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