Skip to main content
Delete a deployment by id, or by name and optional tag

Usage

vastai delete deployment [ID | --name NAME [--tag TAG]]

Arguments

id
integer
required
id of deployment to delete

Options

--name
string
name of deployment to delete (deletes all tags unless --tag is specified)
--tag
string
tag to filter by when deleting by name

Examples

vastai delete deployment 1234
vastai delete deployment --name my-deployment
vastai delete deployment --name my-deployment --tag prod

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)