DELETE /api/topology/hosts/{hostID}
Description
Delete a host from the topology.
Resource URL
https://localhost:8090/api/topology/hosts/{hostID}
Parameters
hostID | mandatory | The id of the host to delete. |
Response Codes
Response Code | Description |
---|---|
204 | Success. Host is deleted. |
400 | The response contains an error e.g.an attempt is made to delete a host that has services (API Servers or Node Managers) registered against it. |
404 | The response contains an error indicating that the host does not exist in the topology. |
500 | The response contains an error e.g. a failure occurred when propagating this topology update to other Node Managers. |
Example Request and Response
DELETE https://localhost:8090/api/topology/hosts/host-1
HTTP 1.1 204 No Content