---
title: "Return Subaccounts and service accounts conflicts"
method: GET
path: "/UserManager/check_account_conflicts"
tags: ["UserManager", "Subaccount Management"]
---

# Return Subaccounts and service accounts conflicts

`GET /UserManager/check_account_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.

## Query parameters

- `full_username` string, email, required

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object
      - `accounts` object — An object containing the service accounts that match the queried `full_username` parameter.
        - `alternate_email` string, email, nullable — An alternate email address for the Subaccount's user.
        - `avatar_url` string, url, nullable — The URL to the user's Subaccount profile image file.
        - `can_delete` 1 | 0 — Whether the cPanel account user can delete the Subaccount. * `1` — Can delete. * `0` — **Cannot** delete.
        - `can_set_password` 1 | 0 — Whether the cPanel account user can change the Subaccount's password. * `1` — Can change the password. * `0` — **Cannot** change the password. **Note:** the function returns `0` for Subaccounts that inherit their password from the cPanel account.
        - `can_set_quota` 1 | 0 — Whether the cPanel account user can change the Subaccount's disk usage quota. * `1` — Can change the Subaccount's disk usage quota. * `0` — **Cannot** change the Subaccount's disk useage quota.
        - `dismissed` 1 | 0 — Whether the cPanel account user dismissed the merge prompt for the service account. * `1` — Dismissed. * `0` — Did **not** dismiss. **Note:** **Only** service accounts return this value.
        - `dismissed_merge_candidates` string[] — A list of the service accounts that the user dismissed the merge prompt for. **Note:** * This array **always** returns empty. * We reserved this return for future use.
        - `domain` string, domain — The Subaccount user's associated domain.
        - `full_username` string, email — The Subaccount's username.
        - `guid` string — The Subaccount's system-assigned unique identifier.
        - `has_expired_invite` 1 | 0 — Whether the Subaccount owns an expired invitation. * `1` — Owns an expired invitation. * `0` — Does **not** own an expired invitation.
        - `has_invite` 1 | 0 — Whether the Subaccount owns an active invitation. * `1` — Own an active invitation. * `0` — Does **not** own an active invitation.
        - `has_siblings` 1 | 0 — Whether the service account shares the queried `full_username` value with another service account. * `1` — Shares the service account. * `0` — Does **not** share the service account.
        - `invite_expiration` integer, nullable — The time at which the new Subaccount invitation will expire. * `null` — The account does **not** own an active invitation.
        - `issues` object[] — An array of objects containing information about any issues or problems with the Subaccount.
          - `area` string — The affected section of cPanel & WHM.
          - `limit` integer — The set megabyte (MB) quota limit for the affected Subaccount.
          - `message` string — A description of the issue.
          - `service` 'email' | 'ftp' | 'webdisk' — The affected service. * `email` * `ftp` * `webdisk`
          - `type` 'error' | 'warning' | 'info' — The type of issue. * `error` * `warning` * `info`
          - `used` integer — The number of megabytes (MB) the account currently uses.
        - `merge_candidates` object[] — An array of objects containing the service accounts that the system could merge for this Subaccount.
          - `parent_type` 'sub' | 'hypothetical', nullable — The type of account that could own the service account. * `sub` — A Subaccount. * `hypothetical` — A hypothetical Subaccount that does **not** yet exist, but that the user could create as part of a merge. * `null` — **Not** a merge candidate.
          - `phone_number` string — The Subaccount user's phone number, in [ITU-T-recommended E.164](https://en.wikipedia.org/wiki/E.164) format.
          - `real_name` string — The name of the Subaccount user, if provided.
          - `services` object — Information about the Subaccount's access to email, FTP, and Web Disk.
            - `email` object — Information that indicates the Subaccount's email status.
              - …
            - `ftp` object — Information about the Subaccount's FTP status.
              - …
            - `webdisk` object — Information about the Subaccount's Web Disk status.
              - …
          - `special` 1 | 0 — Whether the account is a system-created special account that the user **cannot** remove. * `1` — The user can remove the account. * `0` — The user **cannot** remove the account.
          - `sub_account_exists` 1 | 0, nullable — Whether a Subaccount exists with the same username. * `1` — Exists. * `0` — Does **not** exist. * `null` — The account is **not** a Subaccount.
          - `synced_password` 1 | 0, nullable — Whether the user has synchronized the passwords for each of the Subaccount's service accounts. * `1` — Synchronized. * `0` — **Not** synchronized. * `null` — The account is **not** a Subaccount.
          - `type` 'sub' | 'hypothetical' | 'service' | 'cpanel' — The type of account. * `sub` — A Subaccount. * `hypothetical` — A hypothetical Subaccount that does **not** yet exist, but that the user could create as part of a merge. * `service` — A service account. * `cpanel` — A cPanel account.
          - `username` string, username — The username for the Subaccount. **Note:** This value does **not** include the domain name.
      - `conflict` 1 | 0 — Whether the system detected an account conflict. * `1` — Conflict. * `0` — **No** conflict.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
    - `status` 1 | 0 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
