Suspending users and checking status MOFH?
#1
Was wondering how people were using the API to grab the current status of the user account? Once a client is suspended either by myself or the admins at MOFH, how do I update my panel to reflect that change via the API? I know the suspend and unsuspend API end points exist but I am not sure that is the purpose of it.

Thanks!
  Reply
#2
(04-30-2017, 03:48 PM)ninth Wrote: Was wondering how people were using the API to grab the current status of the user account? Once a client is suspended either by myself or the admins at MOFH, how do I update my panel to reflect that change via the API? I know the suspend and unsuspend API end points exist but I am not sure that is the purpose of it.

Thanks!

You can't pull the status, but you can listen to the webhooks to get status updates. I wrote something about the format earlier on this forum.
Owner of InfinityFree (formerly Grendel Hosting) and XVHOST.
  Reply
#3
Sad 
(05-01-2017, 07:58 AM)Hans Wrote: You can't pull the status, but you can listen to the webhooks to get status updates. I wrote something about the format earlier on this forum.

Sometimes I literally wonder if I am blind, I didn't even notice the call back URL for the webhooks Confused

Thanks for the heads up! I will look at it now and start implementing it Smile
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)