When to use
- Change the scopes of an existing API key (e.g., add
projects:readscope) - Rename a key for better identification
- Update the description of a key
Prerequisites
codikaCLI installed and authenticated- API key with
api-keys:managescope - Caller must be an admin or owner in the organization
- The key ID of the key to update (from the platform dashboard or
create-keyoutput)
Command
Options
At least one of
--scopes, --name, or --description must be provided.
When --scopes is provided, it replaces the existing scopes entirely.