Skip to main content

expanso-cli job stop

expanso-cli job stop​

Stop a running job

Synopsis​

Stop all executions of a running job.

expanso-cli job stop JOB_ID_OR_NAME [flags]

Examples​

# Stop a job by name
expanso-cli job stop my-job

# Stop a job by ID
expanso-cli job stop job-abc123

# Force stop without confirmation
expanso-cli job stop my-job --force

# Stop a job in a specific namespace
expanso-cli job stop my-job --namespace production

Options​

-f, --force Force stop without confirmation
-h, --help help for stop
--namespace string Job namespace

Options inherited from parent commands​

--api-key string API key for authentication (e.g., exp_ak_...). Env: EXPANSO_CLI_AUTH_API_KEY (preferred; flag values show in ps output)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO​