Replaced response code for host deleting