Deletes a route advertisement policy.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the Smart Access Gateway (SAG) instance is deployed. | cn-shanghai |
SmartAGId | string | Yes | The ID of the SAG instance. | sag-gyat6giidkvyk**** |
DestCidrBlock | string | Yes | The destination CIDR block. | 192.XX.XX.0/24 |
SourceType | string | Yes | The type of the route source. Valid values:
| local |
RouteSource | string | Yes | The source of routes. Valid values:
| STATIC |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BF62139B-D64A-4C95-A55F-6A2335C4417D"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | SAG.InstanceIdEmpty | You must specify the SAG instance ID. | You must specify the SAG instance ID. |
400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | The specified SAG instance does not exist. |
400 | RD.InvalidDestCidrBlock | The specified destination CIDR block is invalid. | The specified destination CIDR block is invalid. |
400 | RD.InvalidRouteSource | The specified route source is invalid. | The specified route source is invalid. |
400 | RD.InvalidSourceType | The specified route source type is invalid. | The specified route source type is invalid. |
For a list of error codes, visit the Service error codes.