CLI
ankra tokens
Manage API tokens
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage API tokens
ankra tokens create <name> [flags]
| Flag | Default | Description |
|---|---|---|
--expires | Token expiration date (ISO 8601 format) | |
-o, --output | Output format: json or yaml (default: human-readable) | |
--scopes | [] | MCP access scopes: mcp:read or mcp:read,mcp:write; omitted creates a REST-only token |
ankra tokens delete <token_id>
ankra tokens list [flags]
| Flag | Default | Description |
|---|---|---|
--order | asc | Sort direction with --sort: asc or desc |
-o, --output | Output format: json or yaml (default: human-readable) | |
--sort | Sort by column: id, name, status, created, expires, last-used (default: server order) |
ankra tokens revoke <token_id>