This method allows you to list all known hosts within a project template.

## URL

```bash
/templates/<permalink>/build_known_hosts
```

* Replace `<permalink>` with the permalink of your template.

## HTTP Method

```
GET
```

## Supported Parameters

None

## Example cURL Request

```bash
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
https://atech.deployhq.com/templates/api-created/build_known_hosts
```

## Example response

```json
[
  {
    "identifier":"7d76185d-63ed-49a3-b999-52b8a20d22ef",
    "hostname":"codebasehq.com",
    "fingerprint":"2e:db:b6:22:f7:bd:48:f6:da:72:bf:59:d7:75:d7:4e"
  }
]
```