Retrieving an instance template returns its full configuration including the plan, OS, SSH keys, startup script, VPC, and storage settings. This is useful for reviewing a template's details before using it to create a cluster or instance.
This guide explains how to retrieve an instance template using the Vultr API.
Send a GET request to the List Instance Templates endpoint to retrieve all templates.
Note the id of the template you want to retrieve.
Send a GET request to the Get Instance Template endpoint to retrieve the template details. Replace {template-id} with the template id.
The response contains the template configuration details.
0 Comments
Be the first to comment and share your perspective with the community.