Skip to content

Commit 56970ff

Browse files
committed
[New] Kubeconfig Delete
1 parent 83a942f commit 56970ff

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8253,6 +8253,36 @@ paths:
82538253
- lang: CLI
82548254
source: >
82558255
linode-cli lke kubeconfig-view 12345
8256+
delete:
8257+
operationId: deleteLKEClusterKubeconfig
8258+
x-linode-cli-action: kubeconfig-delete
8259+
security:
8260+
- personalAccessToken: []
8261+
- oauth:
8262+
- lke:read_write
8263+
tags:
8264+
- Linode Kubernetes Engine (LKE)
8265+
summary: Kubeconfig Delete
8266+
description: |
8267+
Delete and regenerate the Kubeconfig file for a Cluster.
8268+
responses:
8269+
'200':
8270+
description: Kubeconfig file deleted and regenerated successfully.
8271+
content:
8272+
application/json:
8273+
schema:
8274+
type: object
8275+
default:
8276+
$ref: '#/components/responses/ErrorResponse'
8277+
x-code-samples:
8278+
- lang: Shell
8279+
source: >
8280+
curl -H "Authorization: Bearer $TOKEN" \
8281+
-X DELETE \
8282+
https://api.linode.com/v4/lke/clusters/12345/kubeconfig
8283+
- lang: CLI
8284+
source: >
8285+
linode-cli lke kubeconfig-delete 12345
82568286
/lke/versions:
82578287
x-linode-cli-command: lke
82588288
get:

0 commit comments

Comments
 (0)