edit
The cldkctl token edit command updates the details of an existing authentication token. This command allows you to rename an existing token by specifying its Token ID and the new name
Usage
cldkctl token edit [id] [flags]Steps
Option 1 — Interactive Mode (TUI):

Run the command below with the target Token ID:
Replace <token_id> with the actual token ID you want to rename.
This will open an interactive token creation prompt in your terminal.
In the Token Name field, enter the name for the token. You cannot proceed by pressing Enter if this field is left empty.
After entering the new name, the interface will ask:
Press Y to confirm and update the token.
Press N to cancel the process.
Press Shift + Tab to return to the previous field.
Once confirmed, the system will display the success message and the generated token.
Option 2 — Using Flags (Non-Interactive Mode):

Run the command below to rename the token directly without using the interactive interface:
Replace <token_id> with the actual token ID.
Once executed, the system will immediately rename the token and confirm success “Cldkctl token updated”.
Flags
-h, --help
Help for the token edit subcommand.
-n, --name string
Token name.
Last updated
