Transfers
Transfer Configuration

Remove cPanel account's archives

This function removes a cPanel user account's archives.

get/delete_account_archives

Request

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

Query parameters

userstring username required
Example:username

The cPanel account username.

mountpointstring
Example:/home/example/

The filepath to the archive storage location.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "delete_account_archives",
    "output": {
      "messages": [
        "Found archive: /home/example/example.tar.gz"
      ],
      "warnings": [
        "This is a warning message."
      ]
    },
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

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