Deletes a SNAT 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
InstanceId String Yes snat-djngdheb*******

The ID of the SNAT entry.

RegionId String Yes cn-hangzhou

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

SmartAGId String Yes sag-hfbd*******

The ID of the SAG instance.

Action String No DeleteSnatEntry

The name of this action.

Value: DeleteSnatEntry

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=DeleteSnatEntry
&InstanceId=snat-djngdheb*******
&RegionId=cn-hangzhou
&SmartAGId=sag-hfbd*******
&<CommonParameters>

Response example

XML format

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

JSON format

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

Errors

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