AI-generated Key Takeaways
-
Retrieves a user's licensing status for a specific application to determine their usage permission.
-
Utilizes a
GET
request with the application ID and user ID specified in the URL path. -
Requires authorization with the
https://www.googleapis.com/auth/appsmarketplace.license
scope. -
Returns a
UserLicense
object containing the user's license information upon successful request.
Gets the user's licensing status for their permission to use a given app.
HTTP request
GET https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
applicationId |
Application Id |
userId |
User Id |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of UserLicense
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/appsmarketplace.license
For more information, see the Authorization guide.