Linode Kubernetes Engine (LKE)
Service Token Delete
https://api.linode.com/v4/lke/clusters/{clusterId}/servicetoken
Delete and regenerate the service account token for a Cluster.
Note: When regenerating a service account token, the Cluster's control plane components and Linode CSI drivers are also restarted and configured with the new token. High Availability Clusters should not experience any disruption, while standard Clusters may experience brief control plane downtime while components are restarted.
Path Parameters
ID of the target Kubernetes cluster.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE \
https://api.linode.com/v4/lke/clusters/12345/servicetoken
Response Samples
- 200
- default
{}
Responses
200: Service token deleted and regenerated successfully.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.