List all templates via API
This method allows you to generate a list of all templates configured in your DeployHQ account.
URL
/templates
HTTP Method
GET
Supported Parameters
None
Example cURL Request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
https://atech.deployhq.com/templates/
Example response
[
{
"name":"Master template",
"permalink":"master-template"
},
{
"name":"Rails Template",
"permalink":"rails-template"
}
]