Kong · Schema

PersonalAccessTokenCreateResponse

Details of the created personal access token.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
id object
user_id object
name string
state string State of the personal access token.
konnect_token string The Konnect token used to authenticate with Konnect.
revoked_by object
created_at object
updated_at object
last_used_at object
expires_at object
revoked_at object
View JSON Schema on GitHub

JSON Schema

kong-personalaccesstokencreateresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PersonalAccessTokenCreateResponse",
  "title": "PersonalAccessTokenCreateResponse",
  "description": "Details of the created personal access token.",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/UUID"
    },
    "user_id": {
      "$ref": "#/components/schemas/UserId"
    },
    "name": {
      "type": "string"
    },
    "state": {
      "description": "State of the personal access token.",
      "type": "string",
      "enum": [
        "ACTIVE",
        "REVOKED",
        "EXPIRED"
      ],
      "readOnly": true,
      "x-speakeasy-unknown-values": "allow"
    },
    "konnect_token": {
      "description": "The Konnect token used to authenticate with Konnect.",
      "type": "string"
    },
    "revoked_by": {
      "$ref": "#/components/schemas/RevokedBy"
    },
    "created_at": {
      "$ref": "#/components/schemas/CreatedAt"
    },
    "updated_at": {
      "$ref": "#/components/schemas/UpdatedAt"
    },
    "last_used_at": {
      "$ref": "#/components/schemas/LastUsedAt"
    },
    "expires_at": {
      "$ref": "#/components/schemas/ExpiresAt"
    },
    "revoked_at": {
      "$ref": "#/components/schemas/RevokedAt"
    }
  },
  "required": [
    "id",
    "name",
    "state",
    "konnect_token",
    "user_id",
    "created_at",
    "expires_at"
  ]
}