Check license information with monitoring
Right now it is nessecary to use a admin token user to get license information from the API. As we are using a python script to monitor if the license if valid and if we are not exceeding the licensed user count we have to use that script with an admin token. We think this is a bit of a security risk.
It would be usefull to retrieve some license information with a non-admin token.
Our proposal is to expose some license information (at least: expire date, remaining users within license or licensed and active users) to an end point available to non-admin users.
Perhaps the API can detect a non-admin token and change the output depending on that (leave out the other information) and show full output when an admin token is used.
Another option would be a health check endpoint.
Links / references
What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?
Who is this for? Provide one or more use cases.
Make sure these are completed before closing the issue, with a link to the relevant commit.