Retrieve all reusable instance templates associated with your Vultr account to identify available configurations for cluster or instance creation.
Listing instance templates retrieves all reusable templates associated with your account, including their plan, OS, SSH keys, and other configuration details. This is useful for identifying available templates before creating a cluster or instance.
This guide explains how to list all instance templates using the Vultr API.
Send a GET request to the List Instance Templates endpoint to retrieve all templates.
$ curl "https://api.vultr.com/v2/instances/templates" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
The response contains all instance templates with their configuration details.