Deletes a mapping between an accelerated IP address and an endpoint for a basic Global Accelerator (GA) instance.

Usage notes

  • DeleteBasicAccelerateIpEndpointRelation is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the following operations to check whether the mapping between an accelerated IP address and an endpoint is deleted:
    • You can call the GetBasicAccelerateIp and ListBasicEndpoints operation to query the status of the accelerated IP address and the endpoint. If the accelerated IP address and the endpoint are in the unbinding state, the mapping t is being deleted. In this status, you can perform only query operations.
    • If the mapping between the accelerated IP address and the endpoint cannot be queried by calling the ListBasicAccelerateIpEndpointRelations operation, the mapping is deleted.
  • The DeleteBasicAccelerateIpEndpointRelation API operation cannot be repeatedly called for the same basic GA instance within a 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 automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteBasicAccelerateIpEndpointRelation

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

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 specify this parameter, the system uses RequestId as ClientToken. RequestId may be different for each API request.
AcceleratorId String Yes ga-bp17frjjh0udz4qz****

The ID of the basic GA instance.

EndpointId String Yes ep-bp14sz7ftcwwjgrdm****

The ID of the endpoint.

AccelerateIpId String Yes gaip-bp1****

The ID of the accelerated IP address.

Response parameters

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

The ID of the request.

AcceleratorId String ga-bp17frjjh0udz4qz****

The ID of the basic GA instance.

EndpointId String ep-bp14sz7ftcwwjgrdm****

The ID of the endpoint.

AccelerateIpId String gaip-bp1****

The ID of the accelerated IP address.

State String null

The status of the mapping between the accelerated IP address and the endpoint.

Note This parameter returns an empty string because the parameter is not in use.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteBasicAccelerateIpEndpointRelation
&RegionId=cn-hangzhou
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&AcceleratorId=ga-bp17frjjh0udz4qz****
&EndpointId=ep-bp14sz7ftcwwjgrdm****
&AccelerateIpId=gaip-bp1****
&Common request parameters

Sample success responses

XML format

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

<DeleteBasicAccelerateIpEndpointRelationResponse>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
    <AcceleratorId>ga-bp17frjjh0udz4qz****</AcceleratorId>
    <EndpointId>ep-bp14sz7ftcwwjgrdm****</EndpointId>
    <AccelerateIpId>gaip-bp1****</AccelerateIpId>
    <State>null</State>
</DeleteBasicAccelerateIpEndpointRelationResponse>

JSON format

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

{
  "RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368",
  "AcceleratorId" : "ga-bp17frjjh0udz4qz****",
  "EndpointId" : "ep-bp14sz7ftcwwjgrdm****",
  "AccelerateIpId" : "gaip-bp1****",
  "State" : "null"
}

Error codes

For a list of error codes, see Service error codes.