JSON API
Accounts
Suspend

Suspend account

This endpoint suspends the vPanel user account associated with the provided information.

HTTP Endpoint

POST https://panel.myownfreehost.net/json-api/suspendacct.php

Usage

curl -X POST -u username:password -d "user=example&reason=My beautiful reason." "https://panel.myownfreehost.net/json-api/suspendacct.php"

Response

💡

The above request returns JSON structured like the following:

{
    "result": [
        {
            "status": 1,
            "statusmsg": "Account username suspended"
        }
    ]
}