All Products
Search
Document Center

Smart Access Gateway:DeleteRouteDistributionStrategy

Last Updated:Jul 31, 2025

Deletes a route advertisement policy.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
smartag:DeleteRouteDistributionStrategydelete
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the Smart Access Gateway (SAG) instance is deployed.

cn-shanghai
SmartAGIdstringYes

The ID of the SAG instance.

sag-gyat6giidkvyk****
DestCidrBlockstringYes

The destination CIDR block.

192.XX.XX.0/24
SourceTypestringYes

The type of the route source. Valid values:

  • cloud: Alibaba Cloud
  • local: on-premises network
local
RouteSourcestringYes

The source of routes. Valid values:

  • Alibaba Cloud

    • Virtual private cloud (VPC) IDs: Routes that are learned from VPCs.
    • Virtual border router (VBR) IDs: Routes that are learned from VBRs.
    • SAG instance IDs: Routes that are learned from SAG instances.
  • On-premises network

    • STATIC: Static routes that are specified in the SAG console.
    • OSPF: Routes that are learned through the Open Shortest Path First (OSPF) protocol.
    • BGP: Routes that are learned through Border Gateway Protocol (BGP).
STATIC

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

BF62139B-D64A-4C95-A55F-6A2335C4417D

Examples

Sample success responses

JSONformat

{
  "RequestId": "BF62139B-D64A-4C95-A55F-6A2335C4417D"
}

Error codes

HTTP status codeError codeError messageDescription
400SAG.InstanceIdEmptyYou must specify the SAG instance ID.You must specify the SAG instance ID.
400SAG.InstanceNoFoundThe specified SAG instance does not exist.The specified SAG instance does not exist.
400RD.InvalidDestCidrBlockThe specified destination CIDR block is invalid.The specified destination CIDR block is invalid.
400RD.InvalidRouteSourceThe specified route source is invalid.The specified route source is invalid.
400RD.InvalidSourceTypeThe specified route source type is invalid.The specified route source type is invalid.

For a list of error codes, visit the Service error codes.