CmdID

CmdID / Commands

cli4

Python command-line interface for Cloudflare API. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Display account information

cli4 /userIdentify

List all zones

cli4 /zonesIdentify

List DNS records for a specific zone

cli4 /zones/:example.com/dns_recordsIdentify

Create a new DNS record

cli4 --post name=example.com type=A content=192.0.2.1 /zones/:example.com/dns_recordsIdentify

Update an existing DNS record

cli4 --put name=sub.example.com type=A content=192.0.2.2 /zones/:example.com/dns_records/:record_idIdentify

Delete a DNS record

cli4 --delete /zones/:example.com/dns_records/:record_idIdentify

Purge all cache for a zone

cli4 --post purge_everything=true /zones/:example.com/purge_cacheIdentify