API Key

API key with scopes, creation date, expiration, and last-used tracking.

Report an issue
api

Install

$ npx shadcn@latest add @open-types/api-key

Source

export interface APIKey {
  id: string;
  key: string;
  name?: string;
  scopes?: string[];
  created_at: string;
  expires_at?: string;
  last_used_at?: string;
}
export interface APIKey {
  id: string;
  key: string;
  name?: string;
  scopes?: string[];
  created_at: string;
  expires_at?: string;
  last_used_at?: string;
}