Skip to main content

tuna api-key

Manage your api-keys.

Manage your API keys. New keys are created in the dashboard.

In an interactive terminal opens a TUI to rename and delete keys. Otherwise prints this help: use the subcommands below.

Guide with examples: Sessions and API keys.

Usage
tuna api-key [flags]
FlagDescription
--api-key stringYour tuna.am api key (env TUNA_API_KEY).

Subcommands​

CommandDescription
tuna api-key deleteDelete an api-key by ID.
tuna api-key editChange the description of an api-key.
tuna api-key listList all the api-keys.

tuna api-key delete​

Delete an api-key by ID.

Alias: del.

Usage
tuna api-key delete <id> [flags]
FlagDescription
-y, --yesSkip the confirmation prompt.

Also accepts the flags of tuna api-key.

tuna api-key edit​

Change the description of an api-key.

Usage
tuna api-key edit <id> <description>

Also accepts the flags of tuna api-key.

tuna api-key list​

List all the api-keys.

Alias: ls.

Usage
tuna api-key list [flags]
FlagDescription
--jsonOutput in JSON format.

Also accepts the flags of tuna api-key.

Global flags work too.