Skip to main content
Version: v5.6.1

opschain tokens

Included from Basic tier

Your credentials on a server: list the session/API-key inventory (metadata only — values are never returned by the API or listed here), and mint or revoke your own API keys. Session lifecycle lives elsewhere: opschain login issues your session tokens, registration-token and admin-bearer management live under opschain admin.

SubcommandPurposePage
tokens listList your sessions and API keys (metadata only)opschain docs cli/tokens-list
tokens createMint an API key under your login session (value shown exactly once)opschain docs cli/tokens-create
tokens revokeRevoke one of your API keys or sessions by idopschain docs cli/tokens-revoke

A server target is required (--server <url>, OPSCHAIN_SERVER or the active context) — local mode holds no token inventory. The group itself takes no flags beyond the globals.