webui: update delete api usage