Method: grants.patch

Updates access for the user to the given package.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



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


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: