delete
https://api.linode.com//lke/clusters//servicetoken
Delete and regenerate the service account token for a Cluster.
When you regenerate 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 shouldn't experience any disruption, while standard clusters may experience brief control plane downtime while components are restarted.
Permissions and scopes
To call this operation, you need the following:
-
Identity and access permissions. Your user needs these roles assigned. Learn more.
- Roles:
lkecluster_admin
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
lke:read_write
- Scopes:
CLI
linode-cli lke service-token-delete 12345