Get kubeconfig from DB

Get kubeconfig from DB

API to get kubeconfig from DB

Request
URI
GET
https://{api_host}/:9443/api/admin/clusters/{clusterId}/kubeconfig
COPY
Path Parameters
clusterId
Required

clusterId

Query Parameters
clusterType
Required

clusterType


Authentication
This operation uses the following authentication methods.
Responses
200

Status 200

{
    "data": {
        "items": [
            {
                "enterprise": "enterprise",
                "organization": "organization",
                "section": "section",
                "config": {
                    "kubeSystemUUID": "11223344-5566-7788-99aa-bbccddeeff00",
                    "clusterName": "tca-cluster1",
                    "type": "internal",
                    "version": "1.2.0",
                    "uuid": "11223344-5566-7788-99aa-bbccddeeff00",
                    "url": "https://10.182.9.167:6443",
                    "kubeconfig": "kubeconfig"
                }
            },
            {
                "enterprise": "enterprise",
                "organization": "organization",
                "section": "section",
                "config": {
                    "kubeSystemUUID": "11223344-5566-7788-99aa-bbccddeeff00",
                    "clusterName": "tca-cluster1",
                    "type": "internal",
                    "version": "1.2.0",
                    "uuid": "11223344-5566-7788-99aa-bbccddeeff00",
                    "url": "https://10.182.9.167:6443",
                    "kubeconfig": "kubeconfig"
                }
            }
        ]
    }
}