Deletes a routing policy from a Cloud Enterprise Network (CEN) instance.
Usage notes
DeleteCenRouteMap is an asynchronous operation. After you send a request, the system returns the request ID but the operation is still being performed in the system background. You can call
DescribeCenRouteMaps to query the status of a routing policy.
- If a routing policy is in the Deleting state, the routing policy is being deleted. You can query the routing policy but cannot perform other operations.
- If a routing policy cannot be found, it is deleted.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteCenRouteMap |
The operation that you want to perform. The operation that you want to perform. Set the value to DeleteCenRouteMap. |
| CenId | String | Yes | cen-7qthudw0ll6jm**** |
The ID of the CEN instance. |
| CenRegionId | String | Yes | cn-hangzhou |
The ID of the region where the routing policy is applied. You can call the DescribeChildInstanceRegions operation to query the most recent region list. |
| RouteMapId | String | Yes | cenrmap-abcdedfghij**** |
The ID of the routing policy. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 5903EE99-D542-4E14-BC65-AAC1CB2D3D03 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteCenRouteMap
&CenId=cen-7qthudw0ll6jm****
&CenRegionId=cn-hangzhou
&RouteMapId=cenrmap-abcdedfghij****
&Common request parametersSample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteCenRouteMapResponse>
<RequestId>5903EE99-D542-4E14-BC65-AAC1CB2D3D03</RequestId>
</DeleteCenRouteMapResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "5903EE99-D542-4E14-BC65-AAC1CB2D3D03"
}Error codes
For a list of error codes, visit the API Error Center.