Disable an API call

Nick6 years ago

Hi Anton,
How can I disable an api call? For example the api call /api/server which doesn't need any authentication, can be directly called by any person who is aware of the base URL or server IP.
The problem is that it also outputs the Maps API key and that is not a good thing. Even though Maps API keys cannot be misused if we take proper precautions like source IP etc, in my case I'm the sharing VPS with another vendor's tracking software, so we both have access to the VPS and they've come to know that we use traccar
So kindly guide me to either disable this endpoint by some means

Anton Tananaev6 years ago

It's not possible.

Nick6 years ago

Thanks Anton.
Do you think it is possible in next Traccar version 4.3 if I open a feature request on github?

Anton Tananaev6 years ago

Unlikely, but you can open the request and see if anyone else is interested.