【发布时间】:2020-02-03 08:11:35
【问题描述】:
我已经设法使用“Android Management API - 快速入门”文档创建企业、策略和设置设备。
1) 但我在前进时遇到了麻烦。我希望能够更改政策,但不知道如何去做。是否需要进行设置才能发送政策更新请求?
2) 我尝试使用从浏览器获取策略
https://androidmanagement.googleapis.com/v1/enterprises/*/policies/* 来自 Android Management API https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*} 的参考页面
和响应是
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED"
}
}
任何帮助将不胜感激
【问题讨论】:
标签: android android-management-api