Generate enterprise web token
Required Permission: mdm.android.enterprise.generateWebToken
Generates a web token for embedding Google Play iframe features within parent applications.
Request
authorization
Authorization: Bearer <token>
application/json
{
"parentFrameUrl": "string",
"enabledFeatures": [
"PLAY_SEARCH"
]
}
Responses
application/json
{
"status": true,
"data": {
"name": "string",
"value": "string",
"parentFrameUrl": "string",
"enabledFeatures": [
"PLAY_SEARCH"
],
"permissions": [
"WEB_TOKEN_PERMISSION_UNSPECIFIED"
]
}
}
application/json
{
"status": false,
"error": {
"code": 5050,
"message": "Feature not allowed for you billing plan"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}