Skip to content

Issue a single-Shoot lab kubeconfig

POST
/api/v1/lab/participants/{id}/kubeconfig/
curl --request POST \
--url https://example.com/api/v1/lab/participants/1/kubeconfig/ \
--cookie sessionid=<sessionid>

POST /api/v1/lab/participants/{id}/kubeconfig — a short-lived single-Shoot admin kubeconfig for the authenticated lab student (docs/58 §5.8). Never a Project credential.

id
required
integer
Media type application/json
object
kubeconfig
required
string
scope
required
string
shootRef
required
string
nullable
field

The offending input, for validation_failed

string
Example generated
{
"kubeconfig": "example",
"scope": "example",
"shootRef": "example",
"field": "example"
}

RFC 7807 problem document

Media type application/json

RFC 7807 application/problem+json — every non-2xx response (docs/58 §5.10).

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
code
required

Stable machine code clients switch on

string
instance
required
string
nullable
operationId
required
string
nullable
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"instance": "example",
"operationId": "example"
}

RFC 7807 problem document

Media type application/json

RFC 7807 application/problem+json — every non-2xx response (docs/58 §5.10).

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
code
required

Stable machine code clients switch on

string
instance
required
string
nullable
operationId
required
string
nullable
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"instance": "example",
"operationId": "example"
}