Skip to main content
POST
Create token for user

Authorizations

k8s-gate-session
string
cookie
required

The session cookie issued by the OIDC sign-in flow. This is what a browser uses.

Body

application/json
expiresInDays
integer<int64> | null
groups
string[] | null
label
string
userEmail
string
userName
string

Response

Created. The body is not described: the code sends map[string]any.