Delete known host via API (templates)
This method allows you to delete an existing known host within a template.
URL
/templates/<permalink>/build_known_hosts/<identifier>
- Replace
<permalink>
with the permalink of the template. - Replace
<identifier>
with the identifier of the known host.
HTTP METHOD
DELETE
Supported Parameters
None
Example cURL request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
-X DELETE \
https://atech.deployhq.com/templates/api-created/build_known_hosts/4eb9cb76-777c-415c-9768-7be926c811d3
Example response
{
{"status":"deleted"}
}