Commands
api-keys list
API key IDs are numeric (e.g.
42), unlike most other resources which use UUIDs.api-keys get
api-keys create
Create a key with an expiration date:
api-keys delete
Permanently delete an API key. Prompts for confirmation; pass--yes (-y) in scripts and CI.
api-keys revoke
Revoke an API key. The key remains visible in the list but can no longer authenticate.Next steps
Authentication
Token resolution order and saved contexts.
Authentication reference
API token formats and security best practices.