获取所有可信服务开通状态
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | ListTrustedServiceStatus | 要执行的操作,取值:ListTrustedServiceStatus。 |
Version | String | 是 | 2022-01-01 | API的版本,取值:2022-01-01。 |
Limit | Integer | 否 | 10 | 分页大小,默认 10 |
Offset | Integer | 否 | 1 | 分页页码,从 1 开始,默认 1 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
Limit | Integer | 10 | 分页大小 |
Offset | Integer | 1 | 页码,从 1 开始 |
Total | Long | 39 | 符合条件的总记录数 |
EnabledServicePrincipals | Array of Object | [{"ServicePrincipal":"quota","EnableTime":"2025-05-08T14:20:21+08:00"}] | 已开通的可信服务列表 |
POST /?Action=ListTrustedServiceStatus&Version=2022-01-01 HTTP/1.1 Host: https://open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20260520T123143Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260520/cn-beijing/organization/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "Limit": 10, "Offset": 1 }
{ "ResponseMetadata": { "RequestId": "20260520203146138102081082227558", "Action": "ListTrustedServiceStatus", "Version": "2022-01-01", "Service": "organization", "Region": "cn-beijing" }, "Result": { "Limit": 10, "Offset": 1, "Total": 39, "EnabledServicePrincipals": [ { "ServicePrincipal": "Fu15YVXQh", "EnableTime": "9fnO6IH" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
400 | PermissionError | 无权限,没有对该资源进行该操作的权限 |
400 | DescribeObjectLabels | 查询可信服务白名单标签失败时返回。 |
404 | RecordNotExists | 记录不存在 |
500 | InternalError | 未知错误,根据错误信息判断详情 |