Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vast.ai/llms.txt

Use this file to discover all available pages before exploring further.

Delete machine if the machine is not being used by clients. host jobs on their own machines are disregarded and machine is force deleted.
This is a host command, used for managing machines you are renting out on Vast.ai.

Usage

vastai delete machine <id>

Arguments

id
integer
required
id of machine to delete

Examples

vastai delete machine <ID>

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)