Skip to content

Commit aacfbf7

Browse files
Add information about deleting tags with PUT /lke/clusters/{clusterId}
1 parent 820907c commit aacfbf7

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

openapi.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6209,7 +6209,18 @@ paths:
62096209
label:
62106210
$ref: '#/components/schemas/LKEClusterRequestBody/properties/label'
62116211
tags:
6212-
$ref: '#/components/schemas/LKEClusterRequestBody/properties/tags'
6212+
x-linode-filterable: true
6213+
type: array
6214+
items:
6215+
type: string
6216+
example:
6217+
- prod
6218+
- monitoring
6219+
- ecomm
6220+
- blog
6221+
description: >
6222+
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
6223+
To delete a tag, exclude it from your `tags` array.
62136224
responses:
62146225
'200':
62156226
description: Returns a single Kubernetes cluster.
@@ -6221,11 +6232,17 @@ paths:
62216232
$ref: '#/components/schemas/LKECluster/properties/label'
62226233
tags:
62236234
x-linode-filterable: true
6235+
type: array
6236+
items:
6237+
type: string
62246238
example:
62256239
- prod
62266240
- monitoring
62276241
- ecomm
62286242
- blog
6243+
description: >
6244+
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
6245+
To delete a tag, exclude it from your `tags` array.
62296246
created:
62306247
$ref: '#/components/schemas/LKECluster/properties/created'
62316248
updated:
@@ -6241,14 +6258,16 @@ paths:
62416258
-H "Authorization: Bearer $TOKEN" \
62426259
-X PUT -d '{
62436260
"label": "lkecluster54321"
6244-
"tags" : ["prod", "monitoring"]
6261+
"tags" : ["ecomm", "blog", "prod", "monitoring"]
62456262
}' \
62466263
https://api.linode.com/v4beta/lke/clusters/12345
62476264
- lang: CLI
62486265
source: >
62496266
linode-cli lke cluster-update 12345 \
62506267
--label lkecluster54321 \
6251-
--tags prod
6268+
--tags ecomm \
6269+
--tags blog \
6270+
--tags prod \
62526271
--tags monitoring
62536272
delete:
62546273
operationId: deleteLKECluster

0 commit comments

Comments
 (0)