Suspensions

Return suspended cPanel accounts and information

This function lists suspended accounts on the server.

get/listsuspended

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "account": [
      {
        "owner": "root",
        "reason": "Suspended for nonpayment.",
        "time": "Thu Nov 18 10:34:34 2014",
        "unixtime": 1416306874,
        "user": "username"
      }
    ]
  },
  "metadata": {
    "command": "listsuspended",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.