deleteRule
Deletes the rule for the specified ID.
Applies to Clouds and Integration Appliances.
Parameter:
- ruleId
- The specified ID for the rule to be deleted.
Examples:
The following code is an example
of a SOAP request to delete a rule.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dep="http://www.approuter.com/schemas/2008/1/deployment">
<soapenv:Header>
<dep:sessionId>8FDBC8ED7A014272714D23D14794473A</dep:sessionId>
</soapenv:Header>
<soapenv:Body>
<dep:deleteRule>
<dep:ruleId>2</dep:ruleId>
</dep:deleteRule>
</soapenv:Body>
</soapenv:Envelope>
The following example is
the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:deleteRuleResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/deployment" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
deployment/types" xmlns:ns4="http://www.approuter.com/schema/router/1000/
security/03" xmlns:ns5="http://www.approuter.com/schemas/2008/1/util/types">
<ns2:success>true</ns2:success>
</ns2:deleteRuleResponse>
</S:Body>
</S:Envelope>