All Products
Search
Document Center

:DeleteRouteTargetGroup

Last Updated:Jan 12, 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

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
vpc:DeleteRouteTargetGroupdelete
*All Resources
*
    none
none

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