Deletes a DNAT entry added to a Smart Access Gateway (SAG) instance.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description 
RegionId String Yes cn-hangzhou

The ID of the region to which the SAG instance belongs.

SagId String Yes sag-jfh***********

The ID of the SAG instance.

Note Currently, only SAG instances that correspond to SAG devices are supported.
Action String No DeleteDnatEntry

The name of this action.

Value: DeleteDnatEntry

DnatEntryId String No dnat-jhd*******

The ID of the DNAT entry.

Response parameters

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

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DeleteDnatEntry
&RegionId=cn-hangzhou
&SagId=sag-jfh***********
&<CommonParameters>

Response example

XML format

<DeleteDnatEntryResponse>
	  <RequestId>68CE10C0-2EFF-4B82-9907-10AB7E2B0A6C</RequestId>
    </DeleteDnatEntryResponse>

JSON format

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

Errors

HTTP status code Error code Error message Description
403 Forbidden User not authorized to operate on the specified resource. You are not authorized to operate on this resource.
403 MissingParameter The input parameter is missing, please check your input. One or more required parameters are missing.
403 InvalidParameter The specified parameter is invalid. The specified parameter is invalid.
403 InternalError An internal server error occurred. An internal error occurred.
400 InstanceNotExit The specified instance does not exist. The specified instance does not exist.

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