Firewalls

Update firewall rule

PATCH/v1/networking/firewall/groups/{id}/rules/{ruleId}

Autorisatie

  • X-API-KEYstringheaderverplicht

    Organization API key. Create one in the cloud console at https://cloud.serverside.com; the key is shown once, when it is created.

Padparameters

  • idstring<uuid>verplicht
  • ruleIdstring<uuid>verplicht

Body

application/json
  • typeenum<string>

    Toegestane waarden:ALLOWBLOCKRATE_LIMIT

  • directionenum<string>

    Toegestane waarden:INBOUNDOUTBOUND

  • protocolenum<string>

    Toegestane waarden:ANYTCPUDPICMPICMP_V6GRE

  • sourcePortStartinteger<int32> | null

    Grenzen:1 <= x <= 65535

  • sourcePortEndinteger<int32> | null

    Grenzen:1 <= x <= 65535

  • sourceAddressstring | null
  • destPortStartinteger<int32> | null

    Grenzen:1 <= x <= 65535

  • destPortEndinteger<int32> | null

    Grenzen:1 <= x <= 65535

  • isEnabledboolean | null
  • rateLimitPpsinteger<int32> | null

    Grenzen:x >= 1

  • packetCriteriaobject
  • descriptionstring | null

    Grenzen:length <= 100

Antwoord

200 · application/json

OK

  • successboolean
  • messagestring | null
  • exceptionstring | null
  • codestring | null
  • errorsobject | null
  • traceIdstring | null
  • dataobject
  • paginationobject