Delete a server via API (templates)
This method allows you to delete a server from a project template.
URL
/templates/<permalink>/servers/<identifier>
- Replace
<permalink>
with the permalink of the template. - Replace
<identifier>
with the identifier of the server.
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/servers/4e62a8fd-8708-466b-b79f-59365c31e0d1
Example response
{
"status":"deleted"
}