Deletes an egress-only rule.

Description

  • DeleteIpv6EgressOnlyRule is an asynchronous operation. After you send a request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the DescribeIpv6EgressOnlyRules operation to query whether the egress-only rule is deleted.
    • If the egress-only rule is in the Deleting state, it indicates that the egress-only rule is being deleted.
    • If you cannot query the egress-only rule, it indicates that the egress-only rule is deleted.
  • You cannot call the DeleteIpv6EgressOnlyRule operation to delete an egress-only rule again when the rule is being deleted.

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
RegionId String No cn-huhehaote

The ID of the IPv6 gateway.

Ipv6EgressOnlyRuleId String No ipv6py-hp3w98rmlbqp0xxxxxxxx

The ID of the egress-only rule that you want to delete.

ClientToken String No 123456

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

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

Note If you do not specify this parameter, the system uses RequestId as ClientToken. RequestId might be different for each API request.
Action String No DeleteIpv6EgressOnlyRule

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

Response parameters

Parameter Type Example Description
RequestId String 9DFEDBEE-E5AB-49E8-A2DC-CC114C67AF75

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?RegionId=cn-huhehaote
&Ipv6EgressOnlyRuleId=ipv6py-hp3w98rmlbqp0xxxxxxxx
&ClientToken=123456
&Action=DeleteIpv6EgressOnlyRule
&Common request parameters

Sample success responses

XML format

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

<DeleteIpv6EgressOnlyRuleResponse>
    <RequestId>9DFEDBEE-E5AB-49E8-A2DC-CC114C67AF75</RequestId>
</DeleteIpv6EgressOnlyRuleResponse>

JSON format

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

{
  "RequestId" : "9DFEDBEE-E5AB-49E8-A2DC-CC114C67AF75"
}

Error codes

For more error codes, see Virtual Private Cloud - Error code.