Cloudflare Docs
API
Visit API on GitHub
Set theme to dark (⇧+D)

API token templates

Below is a table of the currently available API token templates and the default token permissions they grant. You can start creating a token with one of these templates and modify the permissions and resources from there.

Template NamePermissionResource
Edit Zone DNSDNS WriteZone
Read billing infoBilling ReadAccount
Account resources: Include all accounts
Read analytics and logsAnalytics ReadZone
Logs ReadZone
Edit Cloudflare WorkersWorkers Routes WriteZone
Workers Scripts WriteAccount
Workers KV Storage WriteAccount
Workers Tail ReadAccount
Workers R2 Storage WriteAccount
Account Settings ReadAccount
User Details ReadUser
Edit load balancing configurationLoad Balancing: Monitors and Pools WriteAccount
Load Balancers WriteZone
WordPressAnalytics ReadZone
Zone ReadZone
Zone Settings WriteZone
Account Settings ReadAccount
DNS ReadZone
Cache PurgeZone
Account resources: Include all accounts
Zone resources: Include all zones
Create Additional TokensAPI Tokens WriteUser
Read All Resources(All read permissions)Account, Zone, User
Account resources: Include all accounts
Zone resources: Include all zones