Deletes a static route.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:DeleteSagStaticRoute |
delete |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the SAG app instance is deployed. |
cn-shanghai |
| SmartAGId |
string |
Yes |
The ID of the SAG app instance. |
sag-whfn**** |
| SmartAGSn |
string |
Yes |
The serial number of the SAG device associated with the SAG instance. |
sag32a30**** |
| PortName |
string |
Yes |
The name of the port. |
0 |
| DestinationCidr |
string |
Yes |
The destination CIDR block. |
192.XX.XX.0/24 |
| Vlan |
string |
No |
The VLAN ID. Valid values: 0 (physical port) and 1 to 4094 (VLAN). |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
A53F71B6-7577-492A-A0CD-C7D3DFFE2D0E |
Examples
Success response
JSON format
{
"RequestId": "A53F71B6-7577-492A-A0CD-C7D3DFFE2D0E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Sag.PortNotExist | The specified port does not exist. | The specified port does not exist. |
| 400 | Sag.StaticRouteNotExist | The specified static route does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.