Can I use androiddeviceprovisioning.googleapis.com as a customer ?
Hello,
I have access to https://partner.android.com/zerotouch (or to the nice new portal 🙂) to manage which configuration I want to send to our devices. The account I use is "owner". I have created a project with Partner API in Google Cloud.
For now I try to query my device list with androiddeviceprovisioning.googleapis.com using OAuth 2.0 Playground with that URI : https://androiddeviceprovisioning.googleapis.com/v1/partners/my_company_ID/devices/*
But all I succeed is to have an access denied :
{
"error": {
"status": "PERMISSION_DENIED",
"message": "Request had insufficient authentication scopes.",
"code": 403,
"details": [
{
"reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"domain": "googleapis.com",
"metadata": {
"method": "google.android.device.provisioning.v1.DeviceProvisioningPartnerService.GetDevice",
"service": "androiddeviceprovisioning.googleapis.com"
}
}
]
}
}
What am I missing ? Is that only possible for a customer (and not a resseller) to access devices with API ?
Thanks for you help.
Pierre from France