Kong · Schema

PersonalAccessTokenCreateRequestWithExpiresAt

**Deprecated:** Use `ttl_seconds` instead of `expires_at` to specify token expiration. Using a time-to-live value avoids clock skew issues when setting token expiration.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
name object
expires_at string An ISO-8601 timestamp representation of entity expiration date.
View JSON Schema on GitHub

JSON Schema

kong-personalaccesstokencreaterequestwithexpiresat-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PersonalAccessTokenCreateRequestWithExpiresAt",
  "title": "PersonalAccessTokenCreateRequestWithExpiresAt",
  "description": "**Deprecated:** Use `ttl_seconds` instead of `expires_at` to specify token expiration. Using a time-to-live value avoids clock skew issues when setting token expiration.",
  "type": "object",
  "properties": {
    "name": {
      "$ref": "#/components/schemas/PATName"
    },
    "expires_at": {
      "description": "An ISO-8601 timestamp representation of entity expiration date.",
      "type": "string",
      "format": "date-time",
      "example": "2022-11-04T20:10:06.927Z",
      "readOnly": false,
      "x-speakeasy-param-suppress-computed-diff": true
    }
  },
  "additionalProperties": false,
  "deprecated": true,
  "required": [
    "name",
    "expires_at"
  ]
}