All Products
Search
Document Center

ENS:DeleteNatGateway

Last Updated:Mar 12, 2024

Deletes an Internet network address translation (NAT) gateway.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NatGatewayIdstringYes

The ID of the NAT gateway that you want to delete.

nat-5t7nh1cfm6kxiszlttr38****

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError message
400ens.interface.errorAn error occurred while call the API.
400Invalid%sThe specified parameter %s is invalid.
400Missing%sYou must specify the parameter %s.
400InvalidParameter.NatNotFoundThe specified Nat is not found.
400DependencyViolation.NatRuleDependencyViolation.SNAT/DNAT
400DependencyViolation.EipDependencyViolation.Eip
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history