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.

SecurityBasicAuth
Request
query Parameters
full_username
required
string <email>

The Subaccount's username and domain name.

Example: full_username=username@example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/UserManager/check_account_conflicts
Request samples
uapi --output=jsonpretty \
  --user=username \
  UserManager \
  check_account_conflicts \
  full_username='username@example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "check_account_conflicts",
  • "module": "UserManager",
  • "result": {
    • "data": {
      • "accounts": {
        • "alternate_email": "user@example.com",
        • "can_delete": 0,
        • "can_set_password": 1,
        • "can_set_quota": 0,
        • "dismissed": 1,
        • "dismissed_merge_candidates": [ ],
        • "domain": "example.com",
        • "full_username": "username@example.com",
        • "guid": "N4641:EXAMPLE.COM:564CC8A7:A82EA007D8348AC631C0170F9418EC1DEB0D164CC5A722A87C55EF5DD2AD98D4",
        • "has_expired_invite": 0,
        • "has_invite": 0,
        • "has_siblings": 0,
        • "invite_expiration": 1600162200,
        • "issues": [
          • {
            • "area": "info",
            • "limit": 1500,
            • "message": "Your account is over quota.",
            • "service": "email",
            • "type": "info",
            • "used": 2000
            }
          ],
        • "merge_candidates": [
          • {
            • "parent_type": "sub",
            • "phone_number": "+15551234567",
            • "real_name": "John Doe",
            • "services": {
              • "email": {
                • "enabled": null,
                • "quota": null
                },
              • "ftp": {
                • "enabled": null,
                • "homedir": null,
                • "quota": null
                },
              • "webdisk": {
                • "enabled": null,
                • "homedir": null,
                • "perms": null,
                • "private": null
                }
              },
            • "special": 1,
            • "sub_account_exists": 0,
            • "synced_password": 0,
            • "type": "sub",
            • "username": "username"
            }
          ]
        },
      • "conflict": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}