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

nokku.v1.CreateJoinTokenResponse

object
nokku.v1.CreateJoinTokenResponse
token?
object
id?
string
label?
string
expiresAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

maxUses?
integer <int32>
uses?
integer <int32>
autoApprove?
boolean
createdAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

lastUsedAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

tags?
array<string>
grants?
array<nokku.v1.JoinTokenGrant>
ephemeral?
boolean
retireAfter?
string

A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`).

secret?
string

Example

{
  "token": {
    "id": "string",
    "label": "string",
    "expiresAt": "2023-01-15T01:30:15.01Z",
    "maxUses": 0,
    "uses": 0,
    "autoApprove": true,
    "createdAt": "2023-01-15T01:30:15.01Z",
    "lastUsedAt": "2023-01-15T01:30:15.01Z",
    "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"
  },
  "secret": "string"
}