Add authentications to api endpoints exposing couchbase server software version?

Hi ,

I’m using community edition of couchbase version 6.5.1 (docker), when i hit the api’s “http://<server_name>:8091/versions” or "http://<server_name>:8092 , it gives me the version of the software installed with few other information. Is there any way to restrict those apis or implement authentication for the same, so that the software version will not be exposed.

I went through forums and other stackoverflow, i didnt see any related post as such. Can someone help me in this aspect and provide some recommendation.

Thanks