appliance techpreview networking firewall addr inbound: delete
Delete specific rule at a given position or delete all rules.
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/networking/firewall/addr/inbound/delete
Request Body Structure:
{
"config" : {
"all" : true,
"position" : 1
}
}
"config" : {
"all" : true,
"position" : 1
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
config | delete_firewall_rule | Delete a firewall rule. |
config.position | long | Position before which to insert the rule (zero-based). If you try to insert the rule in a position whose number is greater than the number of rules, the firewall rule is inserted at the end of the list. |
config.all | boolean | Delete all firewall rules. Set all argument to "true" to delete all rules or set the all argument to "false" to delete a single rule. |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |