disable user via api call?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lukesullivan
Posts: 34
Joined: Tue Jan 24, 2017 11:12 am

disable user via api call?

Post by lukesullivan »

in the rest api, you can create/delete users with the system/user endpoint (I expect post will also update a user, although it's only listed as create....).

is there a way to disable a user via api call rather than deleting them?

thanks,

-Luke
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: disable user via api call?

Post by npolovenko »

Hello, @lukesullivan. There is no option to enable/disable a user via rest API. This would be a good feature request. Let me know if you'd like me to submit it on your behalf.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lukesullivan
Posts: 34
Joined: Tue Jan 24, 2017 11:12 am

Re: disable user via api call?

Post by lukesullivan »

if you could submit that as an enhancement, I would appreciate it.

in general, my suggestion would be that a webui itself is just an wrapper for calls to an api, so that there is nothing expressible in a webui that is not also expressible as an api call... I know that's hard to retrofit, but that is a good design principle.

thanks,

-Luke
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: disable user via api call?

Post by lmiltchev »

I submitted a feature request on your behalf. The enhancement which you are requesting is currently in the approval queue. Please keep in mind that the decision to implement the enhancement is at the sole discretion of our development team. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
lukesullivan
Posts: 34
Joined: Tue Jan 24, 2017 11:12 am

Re: disable user via api call?

Post by lukesullivan »

thanks, you can go ahead and close this issue, if it isnt already
Locked