All apps/Cloudflare CLI4

Cloudflare CLI4

cloudflare-cli4

CLI for Cloudflare API v4.

Runs as cli4|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 13 fields

Send a request to the Cloudflare API v4 with cli4. Defaults to GET; pick one method flag for anything else. Binary, dump, openapi and image modes are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui cloudflare-cli4
Call the Cloudflare APIExample values, fixed in this page — nothing here reaches a terminal
Basic
API endpoint*
string
Profile
string
Advanced
YAML output
--yaml
TasksEach one presets the form for one job
GET a resource
endpointprofileyaml
POST (create)
endpointitemspostprofile
DELETE a resource
endpointdeleteprofile
ParametersOnly these flags are editable in the form
API endpoint
For example /zones or /zones/:example.com/dns_records.
string · positional 0
Items (name=value)
Request fields as item=value, item=@filename or @filename.
string · positional 1 · repeatable
GET request
boolean
--get
PATCH request
boolean
--patch
POST request
boolean
--post
PUT request
boolean
--put
DELETE request
boolean
--delete
Profile
string
--profile-p
YAML output
boolean
--yaml-y
NDJSON output
boolean
--ndjson-n
Raw output
boolean
--raw-r
Extra header
Additional header, e.g. X-whatever:whatever.
string · repeatable
--header
Verbose
boolean
--verbose-v
SourcesEvery flag above is checked against these
help
usage: cli4 [-V|--version] [-h|--help] [-v|--verbose] [-e|--examples] [-q|--quiet] [-j|--json] [-y|--yaml] [-n|--ndjson] [-i|--image] [-r|--raw] [-d|--dump] [-A|--openapi url] [-b|--binary] [-p|--profile profile-name] [-h|--header additional-header] [--get|--patch|--post|--put|--delete] [item=value|item=@filename|@filename ...] /command ... $ cli4 --profile…
manual2026-10-27

github.com

Before it fills your prompt, Otty checks the installed cli4 against its version. A form that does not match your version is not offered.