Question
What are the different scopes available when creating a Cloudflare Purge Cache API token, and which is required for purging?
Asked by: USER3539
124 Viewed
124 Answers
Answer (124)
The primary scope for purging the cache is 'Edit'. This scope allows the token to modify cached files. Other scopes like 'Delete' (for deleting files) or 'Read' (for reading files) might be available but aren't needed for basic cache purging. Using the least privileged scope possible is a security best practice.