If you suspect that your API key has been compromised, take the following steps immediately:
Revoke the compromised API key through your email marketing platform’s API settings. Generate a new API key and update your applications to use the new key. Review your security practices to prevent future compromises.