Page 1 of 1

REST API authentication issue

Posted: Sun Jul 22, 2018 9:31 pm
by bosecorp
hi Team,

REST API access is not working.
Giving below authentication error. user access with AD account.

{
"error": "Authenticiation failed."
}

Access URL is
https://xxxxi.xxxxxx.com/nagiosxi/api/v ... x&pretty=1

When user is provided with admin access, then user can access the same URL.
Attached screenshot with the level of access user is having.

Please advise.

Thanks!

Re: REST API authentication issue

Posted: Mon Jul 23, 2018 8:17 am
by scottwilkerson
System status is not available to regular users.

From the top of the page in the help
The system section of the API allows management of the system, services, and backend. This API section is admin only.

Re: REST API authentication issue

Posted: Mon Jul 23, 2018 10:05 am
by bosecorp
Ok got it.

Thanks!

You can close the case.

Re: REST API authentication issue

Posted: Mon Jul 23, 2018 10:22 am
by scottwilkerson
bosecorp wrote:Ok got it.

Thanks!

You can close the case.
Locking