Networks

Add VPC firewall rule

Add a rule to a VPC network's firewall. type is in, out or forward.

post/v1/networks/{vpc_id}/firewall/rules

Request

  • Base URL: https://developers.servera.co.uk
  • URL: https://developers.servera.co.uk/v1/networks/{vpc_id}/firewall/rules
  • Auth: HTTP bearer

Path parameters

vpc_idinteger required

VPC network id (from GET /networks).

Request body

typestring required
actionstring nullable
enableinteger nullable
sourcestring nullable
deststring nullable
protostring nullable
dportstring nullable
sportstring nullable
commentstring nullable
ifacestring nullable
macrostring nullable
logstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.