Firewall

Update Firewall Group

put/firewall/groups/{group_id}

Update a firewall group.

Changes are applied in the background to every VPS that uses the group.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

group_id*integer
Rango1 ≤ value

Cuerpo de la petición

Update a firewall group

application/jsonObligatorio
name?string | null
rules?array<FirewallRuleSchema> | null
Propiedades (5)
direction*string
Valores"in""out"
protocol*string
Valores"tcp""udp""icmp""gre"
port?string | null
source?string | null
comment?string | null
enabled?boolean | null

Respuestas

Successful Response

application/json

id*integer
project_id*integer
name*string
rules*array<FirewallRuleSchema>
Propiedades (5)
direction*string
Valores"in""out"
protocol*string
Valores"tcp""udp""icmp""gre"
port?string | null
source?string | null
comment?string | null
enabled*boolean
vps_count?integer
Por defecto0
baremetal_count?integer
Por defecto0