查看子用户IP白名单
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | GetAllowedIPAddresses | 要执行的操作,取值:GetAllowedIPAddresses。 |
Version | String | 是 | 2018-01-01 | API的版本,取值:2018-01-01。 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
EnableIPList | Boolean | true | 是否开启IP白名单 |
Quota | Integer | 10 | 当前身份可设置的IP白名单配额 |
IPList | Array of Object | [{"IP":"10.1.1.5","Description":""},{"IP":"10.1.1.6","Description":""}] | IP白名单的列表 |
GET /?Action=GetAllowedIPAddresses&Version=2018-01-01 HTTP/1.1 Host: volcengineapi.byted.org
{ "ResponseMetadata": { "RequestId": "202405301450026CFC72DA33201E04DF06", "Action": "GetAllowedIPAddresses", "Version": "2018-01-01", "Service": "iam", "Region": "cn-north-1" }, "Result": { "EnableIPList": true, "Quota": 50, "IPList": [ { "IP": "127.0.0.1", "Description": "" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
500 | ServiceFailure | 内部服务错误。 |