Deletes a DNAT entry from a Smart Access Gateway (SAG) device.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DeleteDnatEntry

The operation that you want to perform. Set the value to DeleteDnatEntry.

RegionId String Yes cn-shanghai

The ID of the region where the SAG instance is deployed.

You can call the DescribeRegions operation to query the most recent region list.

SagId String Yes sag-ntwc9r1a6z3xz0****

The ID of the SAG instance.

DnatEntryId String Yes fwd-kxe4fq3xuzczze****

The ID of the DNAT entry.

You can call the DescribeDnatEntries operation to query the most recent DNAT entry list.

Response parameters

Parameter Type Example Description
RequestId String 68CE10C0-2EFF-4B82-9907-10AB7E2B0A6C

The ID of the request.


Sample requests

&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK

<?xml version="1.0" encoding="UTF-8" ?>

JSON format

HTTP/1.1 200 OK

  "RequestId" : "68CE10C0-2EFF-4B82-9907-10AB7E2B0A6C"

Error codes

HttpCode Error code Error message Description
400 InstanceNotExit The specified instance does not exist. The error message returned because the specified instance does not exist.
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.
403 MissingParameter The input parameter is missing, please check your input. The error message returned because one or more required parameters are not set. Check whether you have set all required parameters.
403 InvalidParameter The specified parameter is invalid. The error message returned because a parameter is set to an invalid value.
403 InternalError An internal server error occurred. The error message returned because an internal server error occurred.

For a list of error codes, visit the API Error Center.