Skip to Content
CLI & APICommand reference

stackblaze unlink

Remove the project link from this directory

Usage: stackblaze unlink [options]

Remove the project link from this directory

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

Remove the folder's link. Commands run here then need -p/-e/-a again:

stackblaze unlink
stackblaze context
OK Removed .stackblaze/project.json
Context
  api:         https://api-dev.stackblaze.cloud
  project:     (none)
  environment: (none)
  app:         (none)

On this page