Delete p2p netfilter rule
DELETE/p2p/netfilter
Delete netfilter rules.
Request
- application/json
Body
required
Netfilter rule data to delete.
chain
match
match_params
target
target_params
Responses
- 200
Delete rules.
- application/json
- Schema
- success
- error
- error2
Schema
any
Rule deleted
{
"success": true
}
Invalid chain
{
"success": false,
"message": "Invalid netfilter chain."
}
Invalid match
{
"success": false,
"message": "Invalid netfilter match."
}
Loading...