Billed 0.05 EUR per GB-month of the space the template really uses, hourly from the prepaid balance (through the account's template storage service, opened with the first template). Deleting a template stops its charge. At most 10 templates; visible only in your account. meta carries count, max, total_gb and pricing.
Parameters
Field
in
Type
Description
page
query
integer
limit
query
integer
Responses
200
OK — data: array<Template>
404
Not found — also returned for objects owned by someone else
409
template_limit, template_not_ready, busy
422
Validation or business rule failure (confirm_required, invalid_image, tool_action_failed ...)
Billed 0.05 EUR per GB-month of the space the template really uses, hourly from the prepaid balance (through the account's template storage service, opened with the first template). Deleting a template stops its charge. At most 10 templates; visible only in your account. Only the root disk is copied. mode: snapshot (default) keeps the server running (file system frozen briefly via a temporary snapshot); mode: shutdown stops the server, copies it and starts it again. Servers created from the template get a new host name, IP, root password, SSH host keys and machine id (cloud-init); your users, files and settings stay. Linux servers only. Ready in about a minute (status creating -> ready).
Parameters
Field
in
Type
Description
idrequired
path
integer
Server id (tr-ist-1)
Request body
Field
Type
Description
name
string
description
string
mode
string (snapshot, shutdown)
Responses
202
OK — data: object
404
Not found — also returned for objects owned by someone else
409
template_limit, template_not_ready, busy
422
Validation or business rule failure (confirm_required, invalid_image, tool_action_failed ...)
A normal prepaid tr-ist-1 order (24-hour balance rule, account limits) installed from the template. product_id (or plan) from GET /cloud/products?region=tr-ist-1; its disk must be at least the template min_disk_gb. Send "confirm": true and an Idempotency-Key header (dry_run for a quote).
Parameters
Field
in
Type
Description
idrequired
path
integer
Template id
Request body
Field
Type
Description
product_id
integer
plan
string
hostname
string
ssh_keys
array<integer>
user_data
string
confirm
boolean
dry_run
boolean
project_id
integer
Optional project for the new service(s) (0 = default project). Checked before the order: unknown id = 404 project_not_found (GyroAPI order endpoints) or 422 checkout_blocked with [project_not_found] (POST /orders).
Responses
202
OK — data: CreateServerResult
404
Not found — also returned for objects owned by someone else
409
template_limit, template_not_ready, busy
422
confirm_required | limit_exceeded (new-account limit of the prepaid cloud; details = LimitHint, raise it with a support ticket) | validation errors
Overwrites the root disk of one of your tr-ist-1 servers with the template (its disk must be at least min_disk_gb); the server's SSH keys are installed again and a new root password is returned (withheld when an Idempotency-Key is sent). Needs "confirm": true.
Parameters
Field
in
Type
Description
idrequired
path
integer
Template id
Request body
Field
Type
Description
server_idrequired
integer
user_data
string
confirmrequired
boolean
Responses
202
OK — data: object
404
Not found — also returned for objects owned by someone else
409
template_limit, template_not_ready, busy
422
Validation or business rule failure (confirm_required, invalid_image, tool_action_failed ...)