You can call this operation to delete layer 4 forwarding rules.

Request parameters

Name Type Required Description
Listeners String Yes The listener that you want to delete represented as a JSON string. For more information, see Listener.
Note Currently, you can only delete one listener at a time.
Table 1. Listener
Name Type Required Description
InstanceId String Yes The ID of the Anti-DDoS Pro instance that you want to change settings for.
Protocol String Required The listener protocol.
FrontendPort Integer Yes The port for front-end (client to Anti-DDoS Pro) connections. Valid values: 0-65535.

Response parameters

Name Type Description
RequestId String The GUID generated by Alibaba Cloud for the request.


Sample requests
  "Listeners": "[{\"InstanceId\":\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\",\"Protocol\":\"tcp\",\"FrontendPort\":80}]"
Sample responses
  "RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc"