Delete a server via API
This method allows you to delete a server.
URL
/projects/<project>/servers/<identifier>
- Replace
<project>
with thepermalink
of the project. - Replace
<identifier>
with theidentifier
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://test.deployhq.com/projects/project/servers/19bdc2ea-1c96-e09f-f3bf-4473990841b7
Example Response
{
"status": "deleted"
}