Template
Templates contain the OS and the initial setup of a Compute instance.
get-template
Retrieve Template details
GET /template/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonapplication-consistent-snapshot-enabled(boolean): Template with Qemu Guest Agent installed for application consistent snapshotmaintainer(string): Template maintainerdescription(string): Template descriptionssh-key-enabled(boolean): Enable SSH key-based loginfamily(string): Template familyname(string): Template namedefault-user(string): Template default usersize(integer): Template sizepassword-enabled(boolean): Enable password-based loginbuild(string): Template buildchecksum(string): Template MD5 checksumboot-mode(string): Boot mode (default: legacy)id(string): Template IDzones(array[string]): Zones availabilityurl(string): Template source URLversion(string): Template versioncreated-at(string): Template creation datevisibility(string): Template visibility
SDK reference for get-template: golang | Python | Java
CLI: exo api get-template
update-template
Update template attributes
PUT /template/{id}Path parameters
idinpath(required)
Request body
application/jsonname(string): Template namedescription(string): Template Description
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for update-template: golang | Python | Java
CLI: exo api update-template
delete-template
Delete a Template
DELETE /template/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-template: golang | Python | Java
CLI: exo api delete-template
Other Operations
copy-template
Copy a Template from a zone to another
POST /template/{id}Path parameters
idinpath(required)
Request body
application/jsontarget-zone(required) (object): Zone - schema details
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for copy-template: golang | Python | Java
CLI: exo api copy-template
register-template
Register a Template
POST /templateRequest body
application/jsonapplication-consistent-snapshot-enabled(boolean): Template with support for Application Consistent Snapshotsmaintainer(string): Template maintainerdescription(string): Template descriptionssh-key-enabled(required) (boolean): Enable SSH key-based loginname(required) (string): Template namedefault-user(string): Template default usersize(integer): Template sizepassword-enabled(required) (boolean): Enable password-based loginbuild(string): Template buildchecksum(required) (string): Template MD5 checksumboot-mode(string): Boot mode (default: legacy)url(required) (string): Template source URLversion(string): Template version
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for register-template: golang | Python | Java
CLI: exo api register-template
list-templates
List Templates
GET /templateQuery parameters
visibilityinquery(optional)familyinquery(optional)
Responses
200: 200application/jsontemplates(array[object]) - schema details
SDK reference for list-templates: golang | Python | Java
CLI: exo api list-templates
Last updated on