List all API tokens for the current user
Array of API token objects (without token values)
401 - Not authenticated
import { listAPITokens } from "@cpod/sdk";const tokens = await listAPITokens();tokens.forEach(token => { console.log(`${token.name} - Expires: ${token.expires_at}`);}); Copy
import { listAPITokens } from "@cpod/sdk";const tokens = await listAPITokens();tokens.forEach(token => { console.log(`${token.name} - Expires: ${token.expires_at}`);});
List all API tokens for the current user