Skip to Content
CLI & APICommand reference

stackblaze restart

Restart the linked app without rebuilding

Usage: stackblaze restart [options]

Restart the linked app without rebuilding

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

Example

Restart an app's pods without rebuilding or re-pulling it.

stackblaze restart -p github-demo-cw8z -e dev -a hello-web
OK Restarted github-demo-cw8z/dev/hello-web (same image, no rebuild)

On this page