REST API config read-only
Posted: Thu Nov 14, 2019 6:43 am
Hi there, we like to retrieve some info from the REST API and for security reasons we configured an API user with read-only access. If we configure the user with Authorization Level "Admin" everything works fine. However, if we choose Authorization Level "User" we cannot access the CCM information.
A "User" can retrieve data from this API endpoint:
https://nagiosxi.company.local/nagiosxi ... apikey=xxx
But not from this endpoint:
https://nagiosxi.company.local/nagiosxi ... apikey=xxx
{
"error": "Authenticiation failed."
}
This is not what we expected, since we provided these settings:

Is this something which can be changed?
A "User" can retrieve data from this API endpoint:
https://nagiosxi.company.local/nagiosxi ... apikey=xxx
But not from this endpoint:
https://nagiosxi.company.local/nagiosxi ... apikey=xxx
{
"error": "Authenticiation failed."
}
This is not what we expected, since we provided these settings:
Is this something which can be changed?