Method: grants.create

  • Grant access to a user for a specific package using an HTTP POST request.

  • The request URL utilizes gRPC Transcoding syntax and requires a parent path parameter specifying the user.

  • The request body must include an instance of Grant to define the access being granted.

  • A successful response will contain a newly created instance of Grant.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Grant access for a user to the given package.

HTTP request

POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*/users/*}/grants

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The user which needs permission. Format: developers/{developer}/users/{user}

Request body

The request body contains an instance of Grant.

Response body

If successful, the response body contains a newly created instance of Grant.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher