Skip to Content
CLI & APICommand reference

stackblaze cdn

Edge cache (CDN) of the linked app

Usage: stackblaze cdn [options] [command]

Edge cache (CDN) of the linked app

Options:
  -h, --help       Print help

Commands:
  purge [options]  Purge the CDN cache of the app's own public hostnames
  help [command]   Print this message or the help of the given subcommand(s)

cdn purge

Usage: stackblaze cdn purge [options]

Purge the CDN cache of the app's own public hostnames

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  -a, --app <name>       App name
  --json                 Output JSON (same as -o json) (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

On this page