Recipes

Cloudflare API

Cloudflare · cloudflare · v1

Hosts
api.cloudflare.com
Credential type
bearer
Placed in
Authorization
Default profile
prod

Classification

WhenClass
POST PUT PATCH ^(/client/v4)?/accounts/[^/]+/registrar/domainsdestructivealways asks · spends money · refused by default
DELETE ^(/client/v4)?/(zones|accounts)/[^/]+$destructivealways asks
POST ^(/client/v4)?/zones/[^/]+/purge_cache$write
DELETE ^(/client/v4)?/zones/[^/]+/dns_recordsdestructive

Scope we recommend

  • Zone:DNS:Edit
  • Zone:Zone:Read

What it costs

Registering or renewing a domain charges the account immediately and cannot be undone.

Imported from

  • value: CLOUDFLARE_API_TOKEN, CF_API_TOKEN

At the provider

Bring a service the catalogue has never seen

An unknown host gets a conservative default and an access request with a link. The recipe can follow later, and you can write it yourself.

Connect my first agent

Free for 10,000 calls a month. No card.