The Deleting a Server call removes an Endpoint from any associated Environment and deleted from DeployHub.


NOTE: You would typically use this call in combination with “Clone” in order to dynamically add and remove Endpoints from an Environment pre and post deployment. See the “clone” command for more information on cloning Endpoints.

API Call


http://host/dmadminweb/API/del/server/server_id


Where:

Host

The hostname and port of the DeployHub Server (e.g.: hostname:8080 or for SaaS console.deployhub.com).

server_id

The ID of the Endpoint to be deleted. Either its name, its qualified name (i.e.: with its parent Domain(s) included in dot notation) or its internal ID.


Example Result:


{

       success: true

}