VPS
Update firewall rule
Update the firewall rule at pos. Empty fields clear that attribute on the rule.
put/v1/vps/{service_id}/firewall/rules/{pos}
Request
- Base URL: https://developers.servera.co.uk
- URL: https://developers.servera.co.uk/v1/vps/{service_id}/firewall/rules/{pos}
- Auth: HTTP bearer
Path parameters
service_idinteger required
Service id of the VPS/VDS (from GET /vps) or Virtual Router (from GET /virtual-routers).
posinteger required
Firewall-rule position, 0-based (as returned by the firewall read).
Request body
Example request
{
"action": "ACCEPT",
"comment": "HTTPS",
"dport": "443",
"proto": "tcp",
"type": "in"
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.