Skip to main content
PUT
Update Template

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
hash_id
string
required

Hash ID of the template to edit. Required for identifying which template to update.

name
string

Name of the template

image
string

Docker image path

desc
string

Short description of the template

Recommended disk space in GB

template
object

Template object whose hash_id is used as a fallback to identify the template to update when no top-level hash_id is provided.

Response

Returns {success: true, hash_id, msg: "Template {id} Updated Successfully", template}

success
boolean

Always true on success

hash_id
string

New MD5 hash of the updated template

msg
string

E.g. "Template 123 Updated Successfully"

template
object

The updated template object