If you want to remove the API Key from the plugin settings, navigate to Settings > ShortPixel in your WordPress dashboard, and click on the Show API Key button.
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.