API网关 APIG-查询实例的终端节点服务的白名单列表:响应示例

时间:2024-11-11 18:22:29

响应示例

状态码: 200

OK

{
  "total" : 2,
  "size" : 1,
  "permissions" : [ {
    "id" : "e4a7ba21-1e5c-43cc-977d-4aeeacb937ec",
    "permission" : "iam:domain::821a2d452de64bcdb52319967f8a06b9",
    "created_at" : "2021-05-07T14:10:49Z"
  } ]
}

状态码: 401

Unauthorized

{
  "error_code" : "APIC.7102",
  "error_msg" : "Incorrect token or token resolution failed"
}

状态码: 403

Forbidden

{
  "error_code" : "APIC.7106",
  "error_msg" : "No permissions to request for the method"
}

状态码: 404

Resource Not Found

{
  "error_code" : "APIC.7314",
  "error_msg" : "Endpoint service not found"
}

状态码: 500

Internal Server Error

{
  "error_code" : "APIC.9007",
  "error_msg" : "Failed to execute VCPEP request"
}
support.huaweicloud.com/api-apig/ListEndpointPermissions.html