ConfigHub · Schema

UserToken

The record of a long-lived token issued to a ServiceAccount. The token itself is shown once, when it is issued, and is not stored; this record is what lets it be listed, traced to whoever issued it, and revoked on its own.

CompanyConfigurationDevOpsKubernetesGitOpsPlatform

Properties

Name Type Description
CreatedAt string When the token was issued. (readonly)
CreatedByUserID string The User who issued the token. A token is never issued by the identity it authenticates as. (readonly)
Description string Which system holds the token, so it can be retired without guessing what breaks.
DisplayName string Friendly name for the entity.
EntityType string The type of entity.
ExpiresAt string When the token stops working. Zero when it does not expire.
HiddenReason string The reason the entity is hidden, if it is. A hidden entity is left out of List and Search results, and of what bulk operations act on, unless the include_hidden parameter names its reason or is *, or
Jti string The token's jti claim, which the token carries; a where clause names a token by it, as cub does. (readonly)
LastUsedAt string When the token was last exchanged at the registry, stamped at most once per cache period per server. Zero when it has not been used. (readonly)
RevokedAt string When the token was revoked. Zero when it is live. (readonly)
Slug string Unique URL-safe identifier for the entity.
UpdatedAt string The timestamp when the entity was last updated in "2023-01-01T12:00:00Z" format.
UserID string The User the token authenticates as: the ServiceAccount's User. (readonly)
UserTokenID string Unique identifier for the record, by which the API addresses the token. (readonly)
Version integer An entity-specific sequence number used for optimistic concurrency control. The value read must be sent in calls to Update.
View JSON Schema on GitHub

JSON Schema

confighub-user-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/confighub/json-schema/confighub-user-token-schema.json",
  "title": "UserToken",
  "description": "The record of a long-lived token issued to a ServiceAccount. The token itself is shown once, when it is issued, and is not stored; this record is what lets it be listed, traced to whoever issued it, and revoked on its own.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/confighub-service-account-api-openapi.yml#/components/schemas/UserToken",
  "required": [
    "Slug"
  ],
  "type": "object",
  "properties": {
    "CreatedAt": {
      "type": "string",
      "description": "When the token was issued. (readonly)",
      "format": "date-time",
      "readOnly": true,
      "x-confighub-where": {
        "dataType": "time"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "CreatedByUserID": {
      "type": "string",
      "description": "The User who issued the token. A token is never issued by the identity it authenticates as. (readonly)",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid",
        "references": "User"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "Description": {
      "type": "string",
      "description": "Which system holds the token, so it can be retired without guessing what breaks.",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "DisplayName": {
      "type": "string",
      "description": "Friendly name for the entity.",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "EntityType": {
      "type": "string",
      "description": "The type of entity.",
      "readOnly": true,
      "x-go-type-skip-optional-pointer": true
    },
    "ExpiresAt": {
      "type": "string",
      "description": "When the token stops working. Zero when it does not expire.",
      "format": "date-time",
      "x-confighub-where": {
        "dataType": "time"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "HiddenReason": {
      "maxLength": 64,
      "pattern": "^([A-Za-z0-9]([\\-_.A-Za-z0-9]*[A-Za-z0-9])?)?$",
      "type": "string",
      "description": "The reason the entity is hidden, if it is. A hidden entity is left out of List and Search results, and of what bulk operations act on, unless the include_hidden parameter names its reason or is *, or the where parameter names the entity by Slug or ID. ConfigHub/YAML Units are created hidden with the reason BackingUnit unless given another.",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "Jti": {
      "type": "string",
      "description": "The token's jti claim, which the token carries; a where clause names a token by it, as cub does. (readonly)",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "LastUsedAt": {
      "type": "string",
      "description": "When the token was last exchanged at the registry, stamped at most once per cache period per server. Zero when it has not been used. (readonly)",
      "format": "date-time",
      "x-confighub-where": {
        "dataType": "time"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "RevokedAt": {
      "type": "string",
      "description": "When the token was revoked. Zero when it is live. (readonly)",
      "format": "date-time",
      "x-confighub-where": {
        "dataType": "time"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "Slug": {
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9]([\\-_.A-Za-z0-9]*[A-Za-z0-9])?$",
      "type": "string",
      "description": "Unique URL-safe identifier for the entity.",
      "x-confighub-where": {
        "dataType": "string"
      },
      "x-go-type-skip-optional-pointer": true
    },
    "UpdatedAt": {
      "type": "string",
      "description": "The timestamp when the entity was last updated in \"2023-01-01T12:00:00Z\" format.",
      "format": "date-time",
      "readOnly": true,
      "x-confighub-where": {
        "dataType": "time"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "UserID": {
      "type": "string",
      "description": "The User the token authenticates as: the ServiceAccount's User. (readonly)",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid",
        "references": "User"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "UserTokenID": {
      "type": "string",
      "description": "Unique identifier for the record, by which the API addresses the token. (readonly)",
      "format": "uuid",
      "x-confighub-where": {
        "dataType": "uuid"
      },
      "x-go-type-skip-optional-pointer": true,
      "x-omitzero": true
    },
    "Version": {
      "type": "integer",
      "description": "An entity-specific sequence number used for optimistic concurrency control. The value read must be sent in calls to Update.",
      "format": "int64",
      "readOnly": false,
      "x-go-type-skip-optional-pointer": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/confighub-user-token"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.