v1
latestOpenAPI 3.1.02026-07-13897404.3 KBTemplates
edit template
Edits an existing template in place.
Templates are mutable. Use PUT with the template's hash_id to update it. You only need to include the fields you want to change - unchanged fields retain their existing values.
Note: The template's hash_id will change after editing (since it's content-based), but the numeric id stays the same.
For detailed usage, see Creating and Using Templates with API.
CLI Usage: vastai update template <hash_id> [options]
put/api/v0/template/
Request body
Response
Template updated successfully