Title: API Token settings
Last modified: May 7, 2020

---

# API Token settings

 *  Resolved [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/api-token-settings/)
 * Hi Salvatore
 * I don;t wish to assign the Global API key to any plugin for security reasons.
 * Can you confirm what rights we need to assign to a new API token for this plugin
   to work?
 * Thank you.

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

 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [6 years ago](https://wordpress.org/support/topic/api-token-settings/#post-12800730)
 * Hi [@kenzi12](https://wordpress.org/support/users/kenzi12/) ,
    follow the instruction
   on the wizard for creating an API token instead of using API key (choose API 
   token from the dropdown menu).
 * Due to a Cloudflare bug, is not possible to restrict a token to a specific zone
   only.
 *  Thread Starter [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/api-token-settings/#post-12801255)
 * Hi Salva, thanks but the wizard doesnt really point to what ‘rights’ should be
   assigned when configuring the token on the cloudflare side. Can you share what‘
   rights’ should be added when configuring the token?
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [6 years ago](https://wordpress.org/support/topic/api-token-settings/#post-12801567)
 * Hi [@kenzi12](https://wordpress.org/support/users/kenzi12/) ,
    the wizard shows
   all the steps with rights to assign to every single operation. If you are already
   on step 3, click on reset all
 *  Thread Starter [kenzi12](https://wordpress.org/support/users/kenzi12/)
 * (@kenzi12)
 * [6 years ago](https://wordpress.org/support/topic/api-token-settings/#post-12801650)
 * Hi Salva
 * I have deactivate/reactivated your plugin 10 times over the past week and have
   not found what you are referring to. What template shoud a user select when configuring
   token on cloudflare?
 * Create API Token
    Select a template to get started or create a custom token from
   scratch API token templates Get started with a few pre-configured permissions.
   Edit zone DNS Read billing info Read analytics and logs Edit Cloudflare Workers
   Edit load balancing configuration Wordpress Create Additional Tokens Read all
   resources
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [6 years ago](https://wordpress.org/support/topic/api-token-settings/#post-12806289)
 * Follow these steps to create a valid API token:
    1. Log in to your Cloudflare account and click on My Profile
    2. Click on API tokens > Create Token > Custom Token > Get started
    3. Enter a Token name (example: token for example.com)
 * **Permissions:**
    - Account – Account Settings – Read
    - Zone – Cache Purge – Purge
    - Zone – Page Rules – Edit
    - Zone – Zone Settings – Edit
    - Zone – Zone – Edit
 * **Account resources:**
    - Include – All accounts
 * **Zone resources:**
    - Include – All zones
 * Click on Continue to summary and then on Create token.
 * Enter the generated token into the form and click on Update settings.
    -  This reply was modified 6 years ago by [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/).

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

The topic ‘API Token settings’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/api-token-settings/#post-12806289)
 * Status: resolved