• Hello everyone, thanks for reading. I was wondering if there’s a way to change the API KEY in the Cloudflare plugin.
    I made a mistake and I deleted the API KEY on Cloudflare’s site, so I created a new one but the plugin on WordPress doesn’t recongnize it. I can’t do anything, it doesn’t show me the information from the Home, Settings and Analytics tabs, and a red bar is shown in the bottom of the page with the title “Forbidden”, like this:

    https://drive.google.com/file/d/14qmL0k_hYYh_4FZhpO8nDXRmjJoPs8h6/view?usp=sharing

    Is there a way to change the API KEY in the Cloudflare’s plugin to the new one, without having to uninstall it? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you have access to the WP-CLI you can update the email address/key stored options directly and then your site will use the new credentials. You could also do this by connecting to your database and updating the values there.

    wp option update cloudflare_api_key '<!---YOUR API TOKEN --->'

    It seems like this is a missing feature from the plugin. I wanted to check the API ey since I’m getting the weird CSRF Token error, but there’s no way to do that from within the plugin. Very odd no to allow you to at least replace it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change API KEY in Cloudflare Plugin’ is closed to new replies.