shlink icon indicating copy to clipboard operation
shlink copied to clipboard

CLI: Delete/Remove API Key

Open mikeperalta1 opened this issue 1 year ago • 2 comments

Summary

I would like the ability to permanently remove/delete an API key.

Use case

Currently, I'm able to disable an API key. But if I regularly regenerate new API keys for various reasons, the CLI will eventually become cluttered with unused+disabled API keys.

mikeperalta1 avatar Nov 27 '24 03:11 mikeperalta1

This would be a really nice QOL feature to have for managing many API keys for a single instance

SoCuul avatar Jan 25 '25 12:01 SoCuul

Furthermore: it doesn't seem to be possible to re-enable a disabled key?

james-callahan avatar Apr 10 '25 04:04 james-callahan

This feature is now implemented. Shlink 4.6 will ship with a api-key:delete CLI command.

acelaya avatar Oct 20 '25 13:10 acelaya