This is the multi-page printable view of this section. Click here to print.
Show Cluster User Kubeconfig
1 - 1.3
get /v1/clusters/{cluster_id}/user-kubeconfig
Description
Show user kubeconfig for the cluster
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.3 | - |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| query | kubeconfig_type required | Kubeconfig Type (private/public) Example : private | enum (private, public) | None |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | None |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/user-kubeconfig?kubeconfig_type={kubeconfig_type}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.3"
Example HTTP response
Response 200
2 - 1.2
get /v1/clusters/{cluster_id}/user-kubeconfig
Description
Show user kubeconfig for the cluster
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.2 | 20261014 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| query | kubeconfig_type required | Kubeconfig Type (private/public) Example : private | enum (private, public) | None |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | None |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/user-kubeconfig?kubeconfig_type={kubeconfig_type}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.2"
Example HTTP response
Response 200
3 - 1.1
get /v1/clusters/{cluster_id}/user-kubeconfig
Description
Show user kubeconfig for the cluster
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.1 | 20260919 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| query | kubeconfig_type required | Kubeconfig Type (private/public) Example : private | enum (private, public) | None |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | None |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/user-kubeconfig?kubeconfig_type={kubeconfig_type}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.1"
Example HTTP response
Response 200
4 - 1.0
get /v1/clusters/{cluster_id}/user-kubeconfig
Description
Show user kubeconfig for the cluster
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.0 | 20251231 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| query | kubeconfig_type required | Kubeconfig Type (private/public) Example : private | enum (private, public) | None |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | None |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/user-kubeconfig?kubeconfig_type={kubeconfig_type}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.0"