List templates for a reinstall
Overview
Lists operating system families and versions available for this server's reinstall. Versions are under templates. Filter group names with filter[name]. Images incompatible with this server are omitted.
Permissions
Requires the server.read (View servers) permission for the selected team. Resources outside that team return 404.
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Path parameters
The server uuid short
Query parameters
Filter records by name.
Response 200
application/jsonThe whole set, as a JSON array. There is no envelope and no paging.
The uuid UUID.
The value of uuid_short.
The name shown to customers.
Whether the template group is hidden, represented as 0 or 1.
Artwork for the template group, or null when no icon is configured.
The value of order_column.
The value of templates.
Show child attributesHide child attributes
The uuid UUID.
The value of uuid_short.
The name shown to customers.
Whether the template is hidden, represented as 0 or 1.
The value of order_column.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 404
- The resource was not found in the selected team. Resources in another account or team also return 404.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown