@@ -8980,7 +8980,7 @@ paths:
8980
8980
"another example"
8981
8981
]
8982
8982
}' \
8983
- https://api.linode.com/v4 /firewalls
8983
+ https://api.linode.com/v4beta /firewalls
8984
8984
- lang: CLI
8985
8985
source: >
8986
8986
linode-cli firewalls create
@@ -9033,6 +9033,58 @@ paths:
9033
9033
- lang: CLI
9034
9034
source: >
9035
9035
linode-cli firewalls view 123
9036
+ put:
9037
+ x-linode-grant: read_write
9038
+ servers:
9039
+ - url: https://api.linode.com/v4beta
9040
+ tags:
9041
+ - Networking
9042
+ summary: Update Firewall
9043
+ description: >
9044
+ Updates information for a Firewall. A Firewall's Devices cannot be manipulated by
9045
+ this endpoint. A Firewall's status can be set by this endpoint, but it cannot be
9046
+ set to `deleted`. Instead, use the Delete Firewall endpoint to delete a Firewall.
9047
+
9048
+
9049
+ **Beta**: This endpoint is in beta. Please make sure to prepend all requests with
9050
+ `/v4beta` instead of `/v4`, and be aware that this endpoint may receiving breaking
9051
+ updates in the future. This notice will be removed when this endpoint is out of
9052
+ beta.
9053
+ operationId: updateFirewall
9054
+ x-linode-cli-action: update
9055
+ security:
9056
+ - personalAccessToken: []
9057
+ - oauth:
9058
+ - firewall:read_write
9059
+ requestBody:
9060
+ description: The Firewall information to update.
9061
+ content:
9062
+ application/json:
9063
+ schema:
9064
+ allOf:
9065
+ - $ref: '#/components/schemas/Firewall'
9066
+ responses:
9067
+ '200':
9068
+ description: Firewall updated successfully.
9069
+ content:
9070
+ application/json:
9071
+ schema:
9072
+ $ref: '#/components/schemas/Firewall'
9073
+ default:
9074
+ $ref: '#/components/responses/ErrorResponse'
9075
+ x-code-samples:
9076
+ - lang: Shell
9077
+ source: >
9078
+ curl -H "Content-Type: application/json" \
9079
+ -H "Authorization: Bearer $TOKEN" \
9080
+ -X PUT -d '{
9081
+ "status": "disabled",
9082
+ }' \
9083
+ https://api.linode.com/v4beta/firewalls/123
9084
+ - lang: CLI
9085
+ source: >
9086
+ linode-cli firewalls update 123 \
9087
+ --status disabled
9036
9088
delete:
9037
9089
x-linode-grant: read_write
9038
9090
servers:
@@ -14611,7 +14663,7 @@ components:
14611
14663
can only add a Firewall to Linodes.
14612
14664
properties:
14613
14665
linodes:
14614
- description: An array of Linode ids
14666
+ description: An array of Linode IDs
14615
14667
type: array
14616
14668
items:
14617
14669
type: integer
0 commit comments