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
disable user via api call?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: disable user via api call?
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?
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
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
Re: disable user via api call?
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?
thanks, you can go ahead and close this issue, if it isnt already