If you want to remove the API Key from the plugin settings, navigate to Settings > ShortPixel in your WordPress dashboard.
Proceed to simply empty the API Key field, and then click on the “Save settings & validate” button.
Once you have done this, the API Key will be removed.