curl --location --request PUT 'https://dash.ryzehosting.com/api/v2//server/firewall/options' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"uuid": "019b1fc5-83e5-81b1-9592-1537b03ad483",
"policy_in": "DROP",
"policy_out": "ACCEPT"
}'{
"response": "Firewall options updated successfully",
"state": "success",
"code": 200,
"data": {
"uuid": "019b1fc5-83e5-81b1-9592-1537b03ad483",
"rules": [
{
"pos": 0,
"enable": true,
"type": "in",
"action": "ACCEPT",
"proto": "tcp",
"source": "10.0.0.0/8",
"dest": "",
"sport": "1024:65535",
"dport": "443",
"iface": "",
"comment": "HTTPS"
}
],
"options": {
"enable": true,
"policy_in": "DROP",
"policy_out": "ACCEPT"
},
"interfaces": [
{
"id": "net0",
"label": "net0 (00:11:22:33:44:55)",
"mac": "00:11:22:33:44:55"
}
]
}
}