Generate enterprise upgrade URL
Required Permission: mdm.android.enterprise.generateEnterpriseUpgradeUrl
Generates a URL for upgrading a managed Google Play Accounts enterprise to a managed Google domain. Only enterprises with enterprise type MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE are eligible.
Request
authorization
Authorization: Bearer <token>
application/json
{
"adminEmail": "[email protected]",
"allowedDomains": [
"string"
]
}
Responses
application/json
{
"status": true,
"data": {
"url": "string"
}
}
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"
}
}