本接口用于删除 NAT 网关。
前提条件:
注意事项:
删除 NAT 网关的操作会立即生效,且无法恢复,请谨慎操作。
下表列出了接口特定的请求参数以及公共请求参数 Action 和 Version。 其他公共参数,请参见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | DeleteNatGateway | 接口名称。当前 API 的名称为 DeleteNatGateway。 |
Version | String | 是 | 2021-04-30 | 接口版本。当前 API 的版本为 2021-04-30。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
natgw_identity | String | 是 | natgw-xf6lpcbnxbl**** | NAT 网关的 ID。您可以调用 ListNatGateways接口查询 NAT 网关的 ID。 |
该接口无特有的返回参数。
POST https://veenedge.volcengineapi.com/?Action=DeleteNatGateway&Version=2021-04-30 <其他公共参数> { "natgw_identity": "natgw-xf6lpcbnxbl****" }
{ "ResponseMetadata": { "RequestId": "2025091610420100232280022****", "Action": "DeleteNatGateway", "Version": "2021-04-30", "Service": "veenedge", "Region": "cn-north-1" } }
如果响应正文中包含 Error 字段,则表示 API 请求失败。关于错误码的更多信息,参见错误码。