无法从G-Suite经销商API获取订阅的详细信息

时间:2020-05-12 04:54:19

标签: http google-workspace google-reseller-api

我正在尝试使用以下端点访问客户的订阅详细信息:

https://developers.google.com/admin-sdk/reseller/v1/reference/subscriptions/get

在使用正确的范围时,我正在传递有效的客户ID和订阅ID,但我不断收到以下错误消息:

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "forbidden",
    "message": "Forbidden"
   }
  ],
  "code": 403,
  "message": "Forbidden"
 }
}

这是我正在使用的范围:

'https://www.googleapis.com/auth/apps.order',
'https://www.googleapis.com/auth/siteverification',
'https://www.googleapis.com/auth/admin.directory.user'

我不确定自己在做什么错。

0 个答案:

没有答案
相关问题