Get template details
Retrieve detailed information about a specific OS template for virtual machines. Use this endpoint to view specific template specifications before deployment.
Retrieve detailed information about a specific OS template for virtual machines.
Use this endpoint to view specific template specifications before deployment.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
templateIdintegerRequiredExample:
Template ID
2868928Responses
200
Success response
application/json
idintegerOptionalExample:
Template ID
6523namestringOptionalExample:
Template name
Ubuntu 20.04 LTSdescriptionstringOptionalExample:
Template description
Ubuntu 20.04 LTSdocumentationstring · nullableOptionalExample:
Link to official OS documentation
https://docs.ubuntu.com401
Unauthenticated response
application/json
500
Error response
application/json
get/api/vps/v1/templates/{templateId}
GET /api/vps/v1/templates/{templateId} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 6523,
"name": "Ubuntu 20.04 LTS",
"description": "Ubuntu 20.04 LTS",
"documentation": "https://docs.ubuntu.com"
}Last updated
Was this helpful?