调用UnassignPrivateIpAddresses从一块网卡删除一个或多个辅助私有IP地址。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:UnassignPrivateIpAddresses |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NetworkInterfaceId |
string |
是 |
弹性网卡 ID。 |
eni-f8z57orgmt6d144t**** |
| PrivateIpAddress |
array |
是 |
一个或多个需要删除的辅助私有 IP 地址。 |
|
|
string |
否 |
一个或多个需要删除的辅助私有 IP 地址。 |
192.168.XX.XX |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
1ECC937A-AE0E-4626-BE51-DED1D6D1C888 |
示例
正常返回示例
JSON格式
{
"RequestId": "1ECC937A-AE0E-4626-BE51-DED1D6D1C888"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | InvalidEniId.NotFound | The specified NetworkInterfaceId does not exist. | |
| 400 | InvalidPrivateIpAddress.NotFound | The specified privateIpAddress does not exist. | |
| 400 | IncorrectPrivateIpAddressStatus | The current status of the resource does not support this operation. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。