API:suspendServiceByIP - Suspend service by IP

Suspend service by IP. If more than one service uses this IP, specify its ID as optional argument. Note: This function is added by Account Search module, you need to activate it first in order to use this call

Required parameters

ip
Service IP to suspend

Optional parameters

id
Exact service id to suspend, used if there is more than one service with certain IP

Request

GET http://url_to_your_hostbill.com/admin/api.php?token=:TOKEN&call=suspendServiceByIP&ip=:IP

Response

   {
      "success": true,
      "call": "suspendServiceByIP",
      "server_time": 1497597102,
      "info": [
         "Account #188 suspended"
      ]
   }