Account Creation

Validate new cPanel account username

This function checks for username conflicts during account creation.

get/verify_new_username

Request

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

Query parameters

userstring required
Example:username

The account that you wish to create.

Response

HTTP Request was successful.

Example response

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

Changes

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