Skip to main content
Delete a Template

Usage

vastai delete template [--template-id <id> | --hash-id <hash_id>]

Options

--template-id
integer
Template ID of Template to Delete
--hash-id
string
Hash ID of Template to Delete

Description

Note: Deleting a template only removes the user’s replationship to a template. It does not get destroyed Example: vastai delete template —template-id 12345 Example: vastai delete template —hash-id 49c538d097ad6437413b83711c9f61e8

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)