Synopsis
--assume-yes/--yes to skip the confirmation prompt.
When stdin is not interactive (e.g. in CI) the prompt cannot be answered and the
command fails without deleting anything, so pass --assume-yes there.
Deleting a key also deletes every key that was created with it. With --personal and an
API key as --api-token, you can delete only that key and keys created with it.
Flags
Flags inherited from parent commands
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
delete an API key for a service account (asks for confirmation)
delete an API key for a service account (asks for confirmation)
delete multiple API keys at once
delete multiple API keys at once
delete an API key without confirmation
delete an API key without confirmation
delete one of your own personal API keys
delete one of your own personal API keys