You need to enable JavaScript to run this app.
NAT Gateway

NAT Gateway

Copy page
Download PDF
DNAT entry
DeleteDnatEntry - Deleting a DNAT rule
Copy page
Download PDF
DeleteDnatEntry - Deleting a DNAT rule
Call the DeleteDnatEntry API to delete a DNAT rule.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters.​
Action string required Example: DeleteDnatEntry​
The action that you want to perform. Value: DeleteDnatEntry.​
​
Version string required Example: 2020-04-01​
The API version. Value: 2020-04-01.​
​
DnatEntryId string required Example: dnat-342abc3bc3****​
ID of the DNAT rule.​
​
​
​
Response parameters​
The following only details response parameters specific to this API. For more information, see Response structure.​
RequestId string Example: 2021062415303301022514515207C4****​
Request ID.​
​
​
​
Request examples​
​
GET /?Action=DeleteDnatEntry&Version=2020-04-01&DnatEntryId=dnat-342abc3bc3**** HTTP/1.1​
Host: natgateway.cn-beijing.volcengineapi.com​
ServiceName: natgateway​
Region: cn-beijing​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "DeleteDnatEntry",​
"Version": "2020-04-01",​
"Service": "natgateway",​
"Region": "cn-beijing"​
},​
"Result":{​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For details, see Common error codes.​
​
Status code​
Error codes​
Error message​
Description​
400​
MissingParameter​
The request is missing a required parameter.​
This request does not contain required parameters.​
400​
InvalidNatGateway.InvalidStatus​
The specified NAT gateway is not in the correct status for the request.​
The specified NAT gateway cannot respond to this request due to its status.​
400​
InvalidDnatEntry.InvalidStatus​
The specified dnat entry is not in the correct status for the request.​
The specified DNAT rule cannot respond to this request due to its status.​
404​
InvalidDnatEntry.NotFound​
The specified DNAT entry does not exist.​
The specified DNAT rule does not exist.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred.​
​
Last updated: 2026.03.16 18:50:41