Networks

Update VPC firewall rule

Replace the VPC firewall rule at position pos.

put/v1/networks/{vpc_id}/firewall/rules/{pos}

Request

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

Path parameters

vpc_idinteger required

VPC network id (from GET /networks).

posinteger required

Firewall-rule position, 0-based (as returned by the firewall read).

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.