astroctl auth apikey delete
Delete an API key
Synopsis
Delete an API key, removing its record entirely.
Unlike 'revoke', this leaves nothing behind to show the key ever existed. If the key may have leaked, revoke it instead so the audit trail survives.
Pass the key's ID, not the key itself. Run 'astroctl auth apikey list' to find it.
astroctl auth apikey delete <key-id> [flags]
Examples
# Delete a key
astroctl auth apikey delete 1ffd91a0-70c2-4592-b2db-8d9910817e58
# Skip the confirmation prompt
astroctl auth apikey delete <key-id> --yes
Options
-h, --help help for delete
--yes Skip confirmation
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl auth apikey - Inspect and retire the API keys issued to you