Deletes mappings from an endpoint group that is associated with a custom routing listener.

Usage notes

  • DeleteCustomRoutingEndpointGroupDestinations is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the DescribeCustomRoutingEndpointGroup to query the status of an endpoint group and determine whether mappings are deleted from the endpoint group.
    • If the endpoint group is in the updating state, it indicates that mappings are being deleted from the endpoint group. In this case, you can perform only query operations.
    • If the endpoint group is in the active state and no information about the mappings that you want to delete is found in the response when you call the DescribeCustomRoutingEndpointGroupDestinations operation, it indicates the mappings are deleted from the endpoint group.
  • The DeleteCustomRoutingEndpointGroupDestinations operation cannot be called repeatedly for the same Global Accelerator (GA) instance within a specific period of time.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteCustomRoutingEndpointGroupDestinations

The operation that you want to perform. Set the value to DeleteCustomRoutingEndpointGroupDestinations.

RegionId String Yes cn-hangzhou

The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters.

Note If you do not set this parameter, the system sets ClientToken to the value of RequestId. RequestId of each API request may be different.
DryRun Boolean No false

Specifies whether to check the request without performing the operation. Valid values:

  • true: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails the check, an error message is returned. If the request passes the check, the DryRunOperation error code is returned.
  • false: send the request. If the request passes the check, a 2xx HTTP status code is returned and the operation is performed. This is the default value.
EndpointGroupId String No epg-bp1dmlohjjz4kqaun****

The ID of the endpoint group.

Note This parameter is required.
DestinationIds.N String No dst-abc123****

The ID of the endpoint group mapping.

If this parameter is left empty, all mappings are deleted from in the endpoint group specified by the EndpointGroupId parameter.

You can specify the IDs of up to 100 endpoint group mappings.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteCustomRoutingEndpointGroupDestinations
&RegionId=cn-hangzhou
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&DryRun=false
&EndpointGroupId=epg-bp1dmlohjjz4kqaun****
&DestinationIds=["dst-abc123****"]
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteCustomRoutingEndpointGroupDestinationsResponse>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteCustomRoutingEndpointGroupDestinationsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

For a list of error codes, visit the API Error Center.