v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
UserManager
Subaccount Management

Return Subaccounts and service accounts conflicts

This function lists the other Subaccounts or services accounts that conflict with the specified username.

Note:

If the function returns more than one account, it will return some values multiple times within the return arrays.

get/UserManager/check_account_conflicts

Query parameters

full_usernamestring email required
Example:username@example.com

The Subaccount's username and domain name.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "check_account_conflicts",
  "module": "UserManager",
  "result": {
    "data": {
      "accounts": {
        "alternate_email": "user@example.com",
        "avatar_url": "https://img.example.com/avatars/example.jpg",
        "can_set_password": 1,
        "dismissed": 1,
        "domain": "example.com",
        "full_username": "username@example.com",
        "guid": "N4641:EXAMPLE.COM:564CC8A7:A82EA007D8348AC631C0170F9418EC1DEB0D164CC5A722A87C55EF5DD2AD98D4",
        "invite_expiration": 1600162200,
        "issues": [
          {
            "area": "info",
            "limit": 1500,
            "message": "Your account is over quota.",
            "service": "email",
            "type": "info",
            "used": 2000
          }
        ],
        "merge_candidates": [
          {
            "phone_number": "+15551234567",
            "real_name": "John Doe",
            "services": {
              "email": {
                "enabled": 1,
                "quota": 100
              },
              "ftp": {
                "homedir": "/Subaccount",
                "quota": 100
              },
              "webdisk": {
                "homedir": "/username",
                "perms": "rw"
              }
            },
            "special": 1,
            "type": "sub",
            "username": "username"
          }
        ]
      },
      "conflict": 1
    },
    "status": 1
  }
}