Skip to main content
Stop a running deployment

Usage

vastai stop deployment ID [OPTIONS]

Arguments

id
integer
required
id of deployment to stop

Description

Stops the endpoint associated with a deployment. The deployment is not deleted and can be restarted with ‘vastai start deployment’.

Examples

vastai stop deployment 1234
    vastai stop deployment 1234 --raw

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)