Skip to content
Nokku LogoNokku
API Referencev1.0.0 · 174 endpoints

nokku.v1.CreateJoinTokenRequest

object
nokku.v1.CreateJoinTokenRequest
label?
string
ttl?
string

duration.gt = 0s

maxUses?
integer <int32>
autoApprove?
boolean
tags?
array<string>
grants?
array<nokku.v1.JoinTokenGrant>
ephemeral?
boolean
retireAfter?
string

duration.gte = 60s duration.lte = 604800s

Example

{
  "label": "string",
  "ttl": "string",
  "maxUses": 1,
  "autoApprove": true,
  "tags": [
    "string"
  ],
  "grants": [
    {
      "username": "string",
      "userIds": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "teamIds": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "serviceAccountIds": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ]
    }
  ],
  "ephemeral": true,
  "retireAfter": "string"
}