diff --git a/server-ctl.go b/server-ctl.go index 68757fb..53559b6 100644 --- a/server-ctl.go +++ b/server-ctl.go @@ -487,7 +487,7 @@ func (ctl *server_ctl_server_conns_id_routes_id_peers) ServeHTTP(w http.Response case http.MethodDelete: r.ReqStopAllServerPeerConns() - status_code = WriteEmptyRespHeader(w, http.StatusOK) + status_code = WriteEmptyRespHeader(w, http.StatusNoContent) default: status_code = WriteEmptyRespHeader(w, http.StatusMethodNotAllowed)