Skip to main content
Delete a volume

Usage

vastai delete volume ID

Arguments

id
integer
required
id of volume contract

Description

Deletes volume with the given ID. All instances using the volume must be destroyed before the volume can be deleted.

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)