Skip to content

Commit d24d090

Browse files
Added DELETE /firewalls/:id endpoint
Also: - Add Beta endpoint notice to GET /firewalls/:id endpoint - Change path parameter description to read something more generic, as it's shared now with DELETE
1 parent 6bde069 commit d24d090

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

openapi.yaml

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7908,7 +7908,8 @@ paths:
79087908
parameters:
79097909
- name: firewallId
79107910
in: path
7911-
description: ID of the Firewall to look up
7911+
description: >
7912+
ID of the Firewall to interact with.
79127913
required: true
79137914
schema:
79147915
type: integer
@@ -7926,7 +7927,14 @@ paths:
79267927
- personalAccessToken: []
79277928
- oauth:
79287929
- firewall:read_only
7929-
description: Get a specific Firewall resource by its ID.
7930+
description: >
7931+
Get a specific Firewall resource by its ID.
7932+
7933+
7934+
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with
7935+
`/v4beta` instead of `/v4`, and be aware that this endpoint may receiving breaking
7936+
updates in the future. This notice will be removed when this endpoint is out of
7937+
beta.
79307938
responses:
79317939
'200':
79327940
description: Returns information about this Firewall.
@@ -7945,6 +7953,41 @@ paths:
79457953
- lang: CLI
79467954
source: >
79477955
linode-cli firewalls view 123
7956+
delete:
7957+
x-linode-grant: read_write
7958+
servers:
7959+
- url: https://api.linode.com/v4beta
7960+
tags:
7961+
- networking
7962+
summary: Delete Firewall
7963+
operationId: deleteFirewall
7964+
x-linode-cli-action: delete
7965+
security:
7966+
- personalAccessToken: []
7967+
- oauth:
7968+
- firewall:read_write
7969+
description: >
7970+
Delete a Firewall resource by its ID.
7971+
7972+
7973+
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with
7974+
`/v4beta` instead of `/v4`, and be aware that this endpoint may receiving breaking
7975+
updates in the future. This notice will be removed when this endpoint is out of
7976+
beta.
7977+
responses:
7978+
'200':
7979+
description: Delete Successful.
7980+
default:
7981+
$ref: '#/components/responses/ErrorResponse'
7982+
x-code-samples:
7983+
- lang: Shell
7984+
source: >
7985+
curl -H "Content-Type: application/json" \
7986+
-X DELETE \
7987+
https://api.linode.com/v4beta/firewalls/123
7988+
- lang: CLI
7989+
source: >
7990+
linode-cli firewalls delete 123
79487991
/nodebalancers:
79497992
x-linode-cli-command: nodebalancers
79507993
get:

0 commit comments

Comments
 (0)