Delete a server via API
This method allows you to delete a server.
URL
/projects/<project>/servers/<identifier>
- Replace
<project>with either thepermalinkoridentifierof the project. - Replace
<identifier>with theidentifierof the server.
HTTP Method
DELETE
Supported Parameters
None
Example cURL Request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user user@example.com:your-api-key \
-X DELETE \
https://test.deployhq.com/projects/project/servers/19bdc2ea-1c96-e09f-f3bf-4473990841b7
Example Response
{
"status": "deleted"
}