All Products
Search
Document Center

Virtual Private Cloud:DeleteRouteTargetGroup

Last Updated:Jan 07, 2026
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Delete Route Target Group

Operation description

  • The DeleteRouteTargetGroup interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been successfully deleted as the deletion task is still in progress in the background. You can call ListRouteTargetGroup to query the deletion status of the route target group:
    • When the route target group is in the Deleting state, it indicates that the route target group is being deleted.
    • If you cannot find the specified route target group, it means the route target group has been successfully deleted.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RouteTargetGroupIdstringYes

The ID of the route target group instance.

rtg-xxxx
RegionIdstringYes

The region ID of the resource group to be modified.

You can obtain the region ID by calling the DescribeRegions interface.

cn-hangzhou
ClientTokenstringNo

Client token used to ensure idempotence of the request.

This value should be generated by the client and must be unique across different requests, with a maximum length of 64 ASCII characters.

Note If you do not specify this, the system automatically uses the RequestId from the API request as the ClientToken identifier. The RequestId for each API request may differ.
d7d24a21-f4ba-4454-9173-b3****
Tagarray<object>No

Tags of the resource.

objectNo

List of tags.

KeystringNo

Tag key of the resource. Supports up to 20 tag keys. If you need to pass this value, you cannot input an empty string.

A tag key supports a maximum of 128 characters and cannot start with aliyun or acs:. It also cannot contain http:// or https://.

FinanceDept
ValuestringNo

Tag value of the resource. Supports up to 20 tag values. If you need to pass this value, you can input an empty string.

Supports a maximum of 128 characters and cannot start with aliyun or acs:. It also cannot contain http:// or https://.

FinanceJoshua

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

ID of the request

4EC47282-1B74-4534-BD0E-403F3EE64CAF

Examples

Sample success responses

JSONformat

{
  "RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}

Error codes

HTTP status codeError codeError messageDescription
400ResourceNotFound.RouteTargetGroupThe specified resource of %s is not found.The specified resource% s does not exist.
400IncorrectStatus.RouteTargetGroupThe status of %s [%s] is incorrect.The current state of the RouteTargetGroup prohibits the operation.
400DependencyViolation.RouteEntryThe specified resource of %s depends on %s, so the operation cannot be completed.-

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

Change history

Change timeSummary of changesOperation
2026-01-04Add OperationView Change Details