修改全局IP白名单模板。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| ResourceGroupId | string | 否 | 资源组 ID。 | rg-acfmyiu4ekp**** |
| RegionId | string | 是 | 地域 ID。 | cn-hangzhou |
| GlobalIgName | string | 是 | IP 白名单模板名称。IP 白名单模板名称需满足如下要求:
说明
本参数将覆盖原值。
| test_123 |
| GlobalSecurityGroupId | string | 是 | IP 白名单模板 ID。 | g-zsldxfiwjmti0kcm**** |
| GIpList | string | 是 | IP 白名单模板内的 IP 地址。 说明
本参数将覆盖原值。
| 192.168.0.1,10.10.10.10,172.16.0.1 |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "686BB8A6-BBA5-47E5-8A75-D2ADE433****"
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | 缺少输入参数 |
| 400 | InvalidSecurityIPList.QuotaExceeded | Specified security IP list is not valid: Exceeding the allowed amount of IP address in the list. | 列表中IP地址的数量超过了限制 |
| 400 | InvalidSecurityIPList.Format | Specified security IP list format is not valid. | 指定的安全IP列表格式无效。 |
| 400 | InvalidSecurityIPList.Duplicate | Specified security IP list is not valid: Duplicate IP address in the list | - |
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|---|---|
| 2025-10-30 | OpenAPI 错误码发生变更 | 查看变更详情 |
