AI-generated Key Takeaways
-
Grant access to a specific package for a designated user using an HTTP POST request.
-
The request should target the URL
https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*/users/*}/grants
and include user details in the path parameter. -
Provide the necessary grant details within the request body, adhering to the structure of the
Grant
object as defined in the API reference. -
Upon successful execution, the response will contain the newly created
Grant
object, confirming the access permission. -
Authorization necessitates the use of 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 |
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