Suspensions

Unsuspend cPanel account

This function unsuspends an account.

Note:

Only the root account and root-enabled resellers can unsuspend a locked account.

get/unsuspendacct

Request

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

Query parameters

userstring required
Example:username

The account to unsuspend.

retain-service-proxies0 | 1

Whether to retain any service proxies on an account.

  • 1 — Retain service proxies.
  • 0 — Do not retain service proxies.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "unsuspendacct",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

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