Dedizierte Server

Cloud

Cloud-Konsole

Firewalls

Update firewall rule

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

Autorisierung

  • X-API-KEYstringheadererforderlich

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

Pfadparameter

  • idstring<uuid>erforderlich
  • ruleIdstring<uuid>erforderlich

Body

application/json
  • typeenum<string>

    Zulässige Werte:ALLOWBLOCKRATE_LIMIT

  • directionenum<string>

    Zulässige Werte:INBOUNDOUTBOUND

  • protocolenum<string>

    Zulässige Werte: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

Antwort

200 · application/json

OK

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