Title: same api key on multiple sites
Last modified: June 6, 2023

---

# same api key on multiple sites

 *  Resolved [Craig](https://wordpress.org/support/users/catholicservant/)
 * (@catholicservant)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/same-api-key-on-multiple-sites/)
 * Hello,
 * Although I do have some sites with Premium, I have a large number using the free
   license, and I used the same API key and email for all of them. I even connected
   them to WF Central.
   According to another thread, this is not OK. So, is there
   an efficient way to generate a new API key and update all of my sites?Thx!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/same-api-key-on-multiple-sites/#post-16800988)
 * Hi [@catholicservant](https://wordpress.org/support/users/catholicservant/), 
   I appreciate your question.
 * Using the same email is definitely fine, there’s **no limit** to the amount of
   free sites the same email address can register. However, each site _should_ have
   a separate key.
 * Any sites installed before the free license changes will have a key generated
   automatically by Wordfence, which will still work fine. However, the only current
   way to get additional free keys for all your sites is to go through the free 
   API Key process: [https://www.wordfence.com/help/api-key/#installing-your-free-license-key](https://www.wordfence.com/help/api-key/#installing-your-free-license-key)
 * The main problem of the same key making its way on to multiple sites is that 
   some actions are rate-limited by key, so too many sites making API calls for 
   rule updates with the same key may not succeed.
 * Thanks,
   Peter.
 *  Thread Starter [Craig](https://wordpress.org/support/users/catholicservant/)
 * (@catholicservant)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/same-api-key-on-multiple-sites/#post-16801394)
 * Hi Peter,
 * Thanks for the help. Yes, the rate-limit is affecting rule updates for my site.
   That was what brought me here.
 * Upon review of that link for the free API key, I don’t see any way to **remove**
   an API key associated with a site and add a new one.
 * Do I need to competely uninstall/remove including database fields and re-install
   to generate a new API key?
 * Thanks!
 * Craig
 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/same-api-key-on-multiple-sites/#post-16804296)
 * Hi [@catholicservant](https://wordpress.org/support/users/catholicservant/), 
   thanks for your reply.
 * Export tokens from **Wordfence > Tools > Import/Export Options** should still
   work when importing on another key, so you could take this step before performing
   a full remove/reset: [https://www.wordfence.com/help/advanced/remove-or-reset/](https://www.wordfence.com/help/advanced/remove-or-reset/)
 * If you’re comfortable using the database, it may be simpler to run the query `
   DELETE FROM wp_wfconfig WHERE name = 'apikey'` (other capitalization or table
   prefixes may apply in your case), then deactivate the plugin with the option 
   to “keep tables and data”, and activate the plugin again. This does cause the
   prompt to return.
 * Thanks,
   Peter.
 *  Thread Starter [Craig](https://wordpress.org/support/users/catholicservant/)
 * (@catholicservant)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/same-api-key-on-multiple-sites/#post-16804303)
 * Perfect. Thanks Peter!
    -  This reply was modified 2 years, 10 months ago by [Craig](https://wordpress.org/support/users/catholicservant/).
      Reason: Marking as resolved

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘same api key on multiple sites’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 4 replies
 * 2 participants
 * Last reply from: [Craig](https://wordpress.org/support/users/catholicservant/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/same-api-key-on-multiple-sites/#post-16804303)
 * Status: resolved