Skip to content

Commit 9d71a0c

Browse files
Update Shell request example for POST /networking/firewalls
1 parent a03d80d commit 9d71a0c

File tree

1 file changed

+35
-6
lines changed

1 file changed

+35
-6
lines changed

openapi.yaml

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7859,17 +7859,46 @@ paths:
78597859
"rules": {
78607860
"inbound": [
78617861
{
7862-
"type": "TCP",
7863-
"protocol": "HTTPS",
7864-
"start_port": 443
7862+
"protocol": "TCP",
7863+
"start_port": 20,
7864+
"end_port": 22,
7865+
"addresses": {
7866+
"ipv4": [
7867+
"192.0.2.1",
7868+
"192.0.2.0/24"
7869+
],
7870+
"ipv6": [
7871+
"2001:DB8::/32"
7872+
]
7873+
}
78657874
}
78667875
],
7867-
"outbound": []
7876+
"outbound": [
7877+
"protocol": "TCP",
7878+
"start_port": 20,
7879+
"end_port": 22,
7880+
"addresses": {
7881+
"ipv4": [
7882+
"192.0.2.1",
7883+
"192.0.2.0/24"
7884+
],
7885+
"ipv6": [
7886+
"2001:DB8::/32"
7887+
]
7888+
}
7889+
}
7890+
]
78687891
},
78697892
"devices": {
7870-
"linodes": [123, 456],
7893+
"linodes": [
7894+
123,
7895+
456
7896+
]
78717897
},
7872-
"tags": []
7898+
"tags": [
7899+
"example tag",
7900+
"another example"
7901+
]
78737902
}' \
78747903
https://api.linode.com/v4/firewalls
78757904
- lang: CLI

0 commit comments

Comments
 (0)