# Update Subaccount settings

This function edits a Subaccount.

Endpoint: GET /UserManager/edit_user
Version: 11.136.0.25
Security: BasicAuth

## Query parameters:

  - `domain` (string, required)
    The Subaccount user's associated domain.

A domain that the cPanel account owns.
    Example: "example.com"

  - `username` (string, required)
    The Subaccount's username.

* Length - 64 characters.
* Characters - a-z, A-Z, 0-9, dot (.), hyphen (-), underscore (_).

Note:

 This value does not include the domain name.
    Example: "example"

  - `alternate_email` (string,null)
    An alternate email address for the Subaccount's user.

Note:

 The cPanel account user could use this email address to contact the Subaccount user if their primary email address's domain is unavailable.
    Example: "user@example.com"

  - `avatar_url` (string,null)
    Warning:

 We reserved this parameter for future use. Do not use this parameter.

The user's Subaccount profile photo.

Note:

 You must use the HTTPS protocol to prevent mixed content warnings when users view the photo from another HTTPS URL.
    Example: "https://img.example.com/avatars/example.jpg"

  - `password` (string)
    The Subaccount's new password.

Note:

 The Subaccount uses this password for email, FTP, and Web Disk services.
    Example: "12345luggage"

  - `phone_number` (string,null)
    The Subaccount user's phone number.

Warning:

 We reserved this parameter for future use. Do not use this parameter.

The number conforms to the ITU-T's E.164-recommended standard for the representation of telephone numbers.
    Example: "+15551234567"

  - `real_name` (string,null)
    The Subaccount user's name.

* A first name.
* A last name.
* A first name and last name.
* An empty string.
    Example: "John Doe"

  - `services.email.enabled` (integer)
    Whether to grant the Subaccount email access.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `services.email.quota` (integer)
    The maximum amount of disk space, in megabytes (MB), that the subaccount's email account may use.

If you do not declare a value, the system defaults to the defined system value.

Note:

 This value cannot be greater than the maximum email quota.

* 0 or unlimited - The subaccount possesses unlimited disk space.
    Example: 500

  - `services.ftp.enabled` (integer)
    Whether to grant the Subaccount FTP access.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `services.ftp.homedir` (string)
    The Subaccount's FTP home directory.

Note:

 This parameter is required if you enable FTP access.

A relative path from the cPanel account's home directory.

Note:

 The specified directory must exist.
    Example: "/Subaccount"

  - `services.webdisk.enabled` (integer)
    Whether to grant the Subaccount Web Disk access.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `services.webdisk.enabledigest` (integer)
    Whether to enable Web Disk digest authentication.

Notes:

 * Only enable Digest Authentication for clients that require additional compatibility support on certain versions of Windows® operating systems. This compatibility support is only required on servers that use a self-signed certificate for the cpsrvd and cpdavd daemons.
 * We recommend that you do not use Digest Authentication.


* 1 - Enabled
* 0 - Disabled.
    Enum: 0, 1

  - `services.webdisk.homedir` (string)
    The Subaccount's Web Disk home directory.

Note:

 This parameter is required if you enable Web Disk access.

A relative path from the cPanel account's home directory.
    Example: "/Subaccount"

  - `services.webdisk.perms` (string)
    Whether to grant write permissions to the Subaccount.

Note:

 The services.webdisk.homedir parameter determines the Subaccount's Web Disk home directory.

* ro - Read-only permissions.
* rw - Read and write permissions.
    Enum: "ro", "rw"

  - `services.webdisk.private` (integer)
    Whether to set the Web Disk directory's permissions to public or private.

* 1 - Private (0700).
* 0 - Public (0755).
    Enum: 0, 1

  - `type` (string)
    The type of account.

* sub - A Subaccount.
    Enum: "sub"

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "edit_user"

  - `module` (string)
    The name of the module called.
    Example: "UserManager"

  - `result` (object)

  - `result.data` (object)

  - `result.data.dismissed_merge_candidates` (array)
    An array of objects of service candidates that the system dismissed from merges.

  - `result.data.dismissed_merge_candidates.merge_candidates` (array)
    An array of objects that represents the service accounts that the system could merge for this subaccount.

  - `result.data.dismissed_merge_candidates.merge_candidates.alternate_email` (string)
    An alternate email address for the subaccount's user.
    Example: "user@example.com"

  - `result.data.dismissed_merge_candidates.merge_candidates.avatar_url` (string)
    The user's subaccount profile photo.
    Example: "https://img.example.com/avatars/example.jpg"

  - `result.data.dismissed_merge_candidates.merge_candidates.can_delete` (integer)
    Whether the cPanel account user can delete the subaccount.

* 1 - Can delete.
* 0 - Cannot delete.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.can_set_password` (integer)
    Whether the cPanel account user can change the subaccount's password.

* 1 - Can change.
* 0 - Cannot change.

Note:

  The function returns a 0 value for subaccounts that inherit their password from the cPanel account.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.can_set_quota` (integer)
    Whether the cPanel account user can change the subaccount's disk usage quota.

* 1 - Can change.
* 0 - Cannot change.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.dismissed` (integer)
    Whether the cPanel account user dismissed the merge prompt for the service account.

Note:

  Only service accounts return this value.

* 1 - Dismissed.
* 0 - Did not dismiss.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.domain` (string)
    The Subaccount user's associated domain.

A domain that the cPanel account owns.
    Example: "example.com"

  - `result.data.dismissed_merge_candidates.merge_candidates.full_username` (string)
    The subaccount's username and domain name.
    Example: "user@example.com"

  - `result.data.dismissed_merge_candidates.merge_candidates.guid` (string)
    The subaccount unique identifier.
    Example: "N4641:EXAMPLE.COM:564CC8A7:A82EA007D8348AC631C0170F9418EC1DEB0D164CC5A722A87C55EF5DD2AD98D4"

  - `result.data.dismissed_merge_candidates.merge_candidates.has_expired_invite` (integer)
    Whether an expired account login invitation exists.

* 1 - Expired account invitation exists.
* 0 - Expired account invitation does not exist.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.has_invite` (integer)
    Whether an account login invitation exists.

* 1 - Account invitation exists.
* 0 - Account invitation does not exist.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.has_siblings` (integer)
    Whether the service account shares a full_username value with another service account.

* 1 - Shares.
* 0 - Does not share.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.invite_expiration` (integer)
    When the invitation expires.
    Example: 1591718154

  - `result.data.dismissed_merge_candidates.merge_candidates.issues` (array)
    Information about any issues or problems with the subaccount.

  - `result.data.dismissed_merge_candidates.merge_candidates.issues.area` (string)
    The affected section of cPanel & WHM.
    Example: "quota"

  - `result.data.dismissed_merge_candidates.merge_candidates.issues.limit` (integer)
    The set quota megabyte (MB) limit for the affected subaccount.
    Example: 1500

  - `result.data.dismissed_merge_candidates.merge_candidates.issues.message` (string)
    The description of the issue.
    Example: "Your account is over quota."

  - `result.data.dismissed_merge_candidates.merge_candidates.issues.service` (string)
    The affected service.
* email
* ftp
* webdisk
    Enum: "email", "ftp", "webdisk"

  - `result.data.dismissed_merge_candidates.merge_candidates.issues.type` (string)
    The type of issue.
* error
* warning
* info
    Enum: "error", "warning", "info"

  - `result.data.dismissed_merge_candidates.merge_candidates.issues.used` (integer)
    The number of megabytes (MB) that the account currently uses.
    Example: 2000

  - `result.data.dismissed_merge_candidates.merge_candidates.parent_type` (string)
    The type of account that could own the service account.

* sub - A subaccount.
* hypothetical - A hypothetical subaccount that does not yet exist, but the user could create as part of a merge.
* null- Not a merge candidate.
    Example: "hypothetical"

  - `result.data.dismissed_merge_candidates.merge_candidates.phone_number` (string)
    The subaccount user's phone number.

The number conforms to the [ITU-T](https://en.wikipedia.org/wiki/ITU-T)'s [E.164](https://en.wikipedia.org/wiki/E.164)-recommended standard for the representation of telephone numbers.
    Example: "+15551234567"

  - `result.data.dismissed_merge_candidates.merge_candidates.real_name` (string)
    The name of the subaccount's user.

* A first name, a last name, or a first name and last name.
* An empty string.
    Example: "John Doe"

  - `result.data.dismissed_merge_candidates.merge_candidates.services` (object)
    This object contains information about the subaccount's access to email, FTP, and Web Disk.

  - `result.data.dismissed_merge_candidates.merge_candidates.services.email` (object)
    This object contains the information that indicates the subaccount's email status.

  - `result.data.dismissed_merge_candidates.merge_candidates.services.email.enabled` (integer)
    Whether the subaccount can access Webmail, POP, and IMAP services.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.services.email.quota` (integer)
    The maximum amount of disk space, in megabytes (MB), allocated to the subaccount's email account.

Note:

  This function will not return 0 as a value.
    Example: 100

  - `result.data.dismissed_merge_candidates.merge_candidates.services.ftp` (object)
    This object contains the information that indicates the subaccount's FTP status.

  - `result.data.dismissed_merge_candidates.merge_candidates.services.ftp.enabled` (integer)
    Whether the subaccount can access FTP.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.services.ftp.homedir` (string)
    The subaccount's FTP home directory.
    Example: "/subaccount"

  - `result.data.dismissed_merge_candidates.merge_candidates.services.ftp.quota` (integer)
    The maximum amount disk space, in megabytes (MB), that the subaccount may use.

* A positive integer between 1 and 999999
* 0 - Unlimited.
    Example: 100

  - `result.data.dismissed_merge_candidates.merge_candidates.services.webdisk` (object)
    This object contains information that indicates the subaccount's Web Disk status.

  - `result.data.dismissed_merge_candidates.merge_candidates.services.webdisk.enabled` (integer)
    Whether the subaccount can access Web Disk.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.services.webdisk.homedir` (string)
    The subaccount's Web Disk home directory.
    Example: "/bob"

  - `result.data.dismissed_merge_candidates.merge_candidates.services.webdisk.perms` (string)
    Whether to grant write permissions to the subaccount.

* ro - Read-only permissions.
* rw - Read and write permissions.
    Enum: "ro", "rw"

  - `result.data.dismissed_merge_candidates.merge_candidates.services.webdisk.private` (integer)
    Whether to set the Web Disk directory's permissions to public or private.

* 1 - Private (0700).
* 0 - Public (0755).
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.special` (integer)
    Whether the account is a system-created special account that the user cannot remove.

* 1 - A special account.
* 0 - Not a special account.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.sub_account_exists` (integer)
    Whether a subaccount exists with the same username.

* 1 - Exists.
* 0 - Does not exist.

Note:

  The function returns a null value if the account is not a service account.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.synced_password` (integer)
    Whether the user has synchronized the passwords for each of the subaccount's service accounts.

* 1 - Synchronized.
* 0 - Not synchronized.

Note:

  The function returns a null value if the account is not a subaccount.
    Enum: 0, 1

  - `result.data.dismissed_merge_candidates.merge_candidates.type` (string)
    The type of account.

* sub - A subaccount.
* hypothetical - A hypothetical subaccount that does not exist, but that the user could create as part of a merge.
* service - A service account.
* cpanel - The cPanel account.
    Example: "sub"

  - `result.data.dismissed_merge_candidates.merge_candidates.username` (string)
    The username for the subaccount.

* Length - 64 characters.
* Characters - a-z, A-Z, 0-9, dot (.), hyphen (-), underscore (_).

Note:

  This value does not include the domain name.
    Example: "example"

  - `result.data.dismissed_merge_candidates.merge_candidates.merge_candidates` (array)
    An array of objects that represents the service accounts that the system could merge for this subaccount.

  - `result.data.alternate_email` (string)
    An alternate email address for the subaccount's user.
    Example: "user@example.com"

  - `result.data.avatar_url` (string)
    The user's subaccount profile photo.
    Example: "https://img.example.com/avatars/example.jpg"

  - `result.data.can_delete` (integer)
    Whether the cPanel account user can delete the subaccount.

* 1 - Can delete.
* 0 - Cannot delete.
    Enum: 0, 1

  - `result.data.can_set_password` (integer)
    Whether the cPanel account user can change the subaccount's password.

* 1 - Can change.
* 0 - Cannot change.

Note:

  The function returns a 0 value for subaccounts that inherit their password from the cPanel account.
    Enum: 0, 1

  - `result.data.can_set_quota` (integer)
    Whether the cPanel account user can change the subaccount's disk usage quota.

* 1 - Can change.
* 0 - Cannot change.
    Enum: 0, 1

  - `result.data.dismissed` (integer)
    Whether the cPanel account user dismissed the merge prompt for the service account.

Note:

  Only service accounts return this value.

* 1 - Dismissed.
* 0 - Did not dismiss.
    Enum: 0, 1

  - `result.data.domain` (string)
    The Subaccount user's associated domain.

A domain that the cPanel account owns.
    Example: "example.com"

  - `result.data.full_username` (string)
    The subaccount's username and domain name.
    Example: "user@example.com"

  - `result.data.guid` (string)
    The subaccount unique identifier.
    Example: "N4641:EXAMPLE.COM:564CC8A7:A82EA007D8348AC631C0170F9418EC1DEB0D164CC5A722A87C55EF5DD2AD98D4"

  - `result.data.has_expired_invite` (integer)
    Whether an expired account login invitation exists.

* 1 - Expired account invitation exists.
* 0 - Expired account invitation does not exist.
    Enum: 0, 1

  - `result.data.has_invite` (integer)
    Whether an account login invitation exists.

* 1 - Account invitation exists.
* 0 - Account invitation does not exist.
    Enum: 0, 1

  - `result.data.has_siblings` (integer)
    Whether the service account shares a full_username value with another service account.

* 1 - Shares.
* 0 - Does not share.
    Enum: 0, 1

  - `result.data.invite_expiration` (integer)
    When the invitation expires.
    Example: 1591718154

  - `result.data.issues` (array)
    Information about any issues or problems with the subaccount.

  - `result.data.issues.area` (string)
    The affected section of cPanel & WHM.
    Example: "quota"

  - `result.data.issues.limit` (integer)
    The set quota megabyte (MB) limit for the affected subaccount.
    Example: 1500

  - `result.data.issues.message` (string)
    The description of the issue.
    Example: "Your account is over quota."

  - `result.data.issues.service` (string)
    The affected service.
* email
* ftp
* webdisk
    Enum: "email", "ftp", "webdisk"

  - `result.data.issues.type` (string)
    The type of issue.
* error
* warning
* info
    Enum: "error", "warning", "info"

  - `result.data.issues.used` (integer)
    The number of megabytes (MB) that the account currently uses.
    Example: 2000

  - `result.data.parent_type` (string)
    The type of account that could own the service account.

* sub - A subaccount.
* hypothetical - A hypothetical subaccount that does not yet exist, but the user could create as part of a merge.
* null- Not a merge candidate.
    Example: "hypothetical"

  - `result.data.phone_number` (string)
    The subaccount user's phone number.

The number conforms to the [ITU-T](https://en.wikipedia.org/wiki/ITU-T)'s [E.164](https://en.wikipedia.org/wiki/E.164)-recommended standard for the representation of telephone numbers.
    Example: "+15551234567"

  - `result.data.real_name` (string)
    The name of the subaccount's user.

* A first name, a last name, or a first name and last name.
* An empty string.
    Example: "John Doe"

  - `result.data.services` (object)
    This object contains information about the subaccount's access to email, FTP, and Web Disk.

  - `result.data.services.email` (object)
    This object contains the information that indicates the subaccount's email status.

  - `result.data.services.email.enabled` (integer)
    Whether the subaccount can access Webmail, POP, and IMAP services.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.services.email.quota` (integer)
    The maximum amount of disk space, in megabytes (MB), allocated to the subaccount's email account.

Note:

  This function will not return 0 as a value.
    Example: 100

  - `result.data.services.ftp` (object)
    This object contains the information that indicates the subaccount's FTP status.

  - `result.data.services.ftp.enabled` (integer)
    Whether the subaccount can access FTP.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.services.ftp.homedir` (string)
    The subaccount's FTP home directory.
    Example: "/subaccount"

  - `result.data.services.ftp.quota` (integer)
    The maximum amount disk space, in megabytes (MB), that the subaccount may use.

* A positive integer between 1 and 999999
* 0 - Unlimited.
    Example: 100

  - `result.data.services.webdisk` (object)
    This object contains information that indicates the subaccount's Web Disk status.

  - `result.data.services.webdisk.enabled` (integer)
    Whether the subaccount can access Web Disk.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.services.webdisk.homedir` (string)
    The subaccount's Web Disk home directory.
    Example: "/bob"

  - `result.data.services.webdisk.perms` (string)
    Whether to grant write permissions to the subaccount.

* ro - Read-only permissions.
* rw - Read and write permissions.
    Enum: "ro", "rw"

  - `result.data.services.webdisk.private` (integer)
    Whether to set the Web Disk directory's permissions to public or private.

* 1 - Private (0700).
* 0 - Public (0755).
    Enum: 0, 1

  - `result.data.special` (integer)
    Whether the account is a system-created special account that the user cannot remove.

* 1 - A special account.
* 0 - Not a special account.
    Enum: 0, 1

  - `result.data.sub_account_exists` (integer)
    Whether a subaccount exists with the same username.

* 1 - Exists.
* 0 - Does not exist.

Note:

  The function returns a null value if the account is not a service account.
    Enum: 0, 1

  - `result.data.synced_password` (integer)
    Whether the user has synchronized the passwords for each of the subaccount's service accounts.

* 1 - Synchronized.
* 0 - Not synchronized.

Note:

  The function returns a null value if the account is not a subaccount.
    Enum: 0, 1

  - `result.data.type` (string)
    The type of account.

* sub - A subaccount.
* hypothetical - A hypothetical subaccount that does not exist, but that the user could create as part of a merge.
* service - A service account.
* cpanel - The cPanel account.
    Example: "sub"

  - `result.data.username` (string)
    The username for the subaccount.

* Length - 64 characters.
* Characters - a-z, A-Z, 0-9, dot (.), hyphen (-), underscore (_).

Note:

  This value does not include the domain name.
    Example: "example"

  - `result.data.merge_candidates` (array)
    An array of objects that represents the service accounts that the system could merge for this subaccount.

  - `result.data.merge_candidates.alternate_email` (string)
    An alternate email address for the subaccount's user.
    Example: "user@example.com"

  - `result.data.merge_candidates.avatar_url` (string)
    The user's subaccount profile photo.
    Example: "https://img.example.com/avatars/example.jpg"

  - `result.data.merge_candidates.can_delete` (integer)
    Whether the cPanel account user can delete the subaccount.

* 1 - Can delete.
* 0 - Cannot delete.
    Enum: 0, 1

  - `result.data.merge_candidates.can_set_password` (integer)
    Whether the cPanel account user can change the subaccount's password.

* 1 - Can change.
* 0 - Cannot change.

Note:

  The function returns a 0 value for subaccounts that inherit their password from the cPanel account.
    Enum: 0, 1

  - `result.data.merge_candidates.can_set_quota` (integer)
    Whether the cPanel account user can change the subaccount's disk usage quota.

* 1 - Can change.
* 0 - Cannot change.
    Enum: 0, 1

  - `result.data.merge_candidates.dismissed` (integer)
    Whether the cPanel account user dismissed the merge prompt for the service account.

Note:

  Only service accounts return this value.

* 1 - Dismissed.
* 0 - Did not dismiss.
    Enum: 0, 1

  - `result.data.merge_candidates.domain` (string)
    The Subaccount user's associated domain.

A domain that the cPanel account owns.
    Example: "example.com"

  - `result.data.merge_candidates.full_username` (string)
    The subaccount's username and domain name.
    Example: "user@example.com"

  - `result.data.merge_candidates.guid` (string)
    The subaccount unique identifier.
    Example: "N4641:EXAMPLE.COM:564CC8A7:A82EA007D8348AC631C0170F9418EC1DEB0D164CC5A722A87C55EF5DD2AD98D4"

  - `result.data.merge_candidates.has_expired_invite` (integer)
    Whether an expired account login invitation exists.

* 1 - Expired account invitation exists.
* 0 - Expired account invitation does not exist.
    Enum: 0, 1

  - `result.data.merge_candidates.has_invite` (integer)
    Whether an account login invitation exists.

* 1 - Account invitation exists.
* 0 - Account invitation does not exist.
    Enum: 0, 1

  - `result.data.merge_candidates.has_siblings` (integer)
    Whether the service account shares a full_username value with another service account.

* 1 - Shares.
* 0 - Does not share.
    Enum: 0, 1

  - `result.data.merge_candidates.invite_expiration` (integer)
    When the invitation expires.
    Example: 1591718154

  - `result.data.merge_candidates.issues` (array)
    Information about any issues or problems with the subaccount.

  - `result.data.merge_candidates.issues.area` (string)
    The affected section of cPanel & WHM.
    Example: "quota"

  - `result.data.merge_candidates.issues.limit` (integer)
    The set quota megabyte (MB) limit for the affected subaccount.
    Example: 1500

  - `result.data.merge_candidates.issues.message` (string)
    The description of the issue.
    Example: "Your account is over quota."

  - `result.data.merge_candidates.issues.service` (string)
    The affected service.
* email
* ftp
* webdisk
    Enum: "email", "ftp", "webdisk"

  - `result.data.merge_candidates.issues.type` (string)
    The type of issue.
* error
* warning
* info
    Enum: "error", "warning", "info"

  - `result.data.merge_candidates.issues.used` (integer)
    The number of megabytes (MB) that the account currently uses.
    Example: 2000

  - `result.data.merge_candidates.parent_type` (string)
    The type of account that could own the service account.

* sub - A subaccount.
* hypothetical - A hypothetical subaccount that does not yet exist, but the user could create as part of a merge.
* null- Not a merge candidate.
    Example: "hypothetical"

  - `result.data.merge_candidates.phone_number` (string)
    The subaccount user's phone number.

The number conforms to the [ITU-T](https://en.wikipedia.org/wiki/ITU-T)'s [E.164](https://en.wikipedia.org/wiki/E.164)-recommended standard for the representation of telephone numbers.
    Example: "+15551234567"

  - `result.data.merge_candidates.real_name` (string)
    The name of the subaccount's user.

* A first name, a last name, or a first name and last name.
* An empty string.
    Example: "John Doe"

  - `result.data.merge_candidates.services` (object)
    This object contains information about the subaccount's access to email, FTP, and Web Disk.

  - `result.data.merge_candidates.services.email` (object)
    This object contains the information that indicates the subaccount's email status.

  - `result.data.merge_candidates.services.email.enabled` (integer)
    Whether the subaccount can access Webmail, POP, and IMAP services.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.merge_candidates.services.email.quota` (integer)
    The maximum amount of disk space, in megabytes (MB), allocated to the subaccount's email account.

Note:

  This function will not return 0 as a value.
    Example: 100

  - `result.data.merge_candidates.services.ftp` (object)
    This object contains the information that indicates the subaccount's FTP status.

  - `result.data.merge_candidates.services.ftp.enabled` (integer)
    Whether the subaccount can access FTP.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.merge_candidates.services.ftp.homedir` (string)
    The subaccount's FTP home directory.
    Example: "/subaccount"

  - `result.data.merge_candidates.services.ftp.quota` (integer)
    The maximum amount disk space, in megabytes (MB), that the subaccount may use.

* A positive integer between 1 and 999999
* 0 - Unlimited.
    Example: 100

  - `result.data.merge_candidates.services.webdisk` (object)
    This object contains information that indicates the subaccount's Web Disk status.

  - `result.data.merge_candidates.services.webdisk.enabled` (integer)
    Whether the subaccount can access Web Disk.

* 1 - Can access.
* 0 - Cannot access.
    Enum: 0, 1

  - `result.data.merge_candidates.services.webdisk.homedir` (string)
    The subaccount's Web Disk home directory.
    Example: "/bob"

  - `result.data.merge_candidates.services.webdisk.perms` (string)
    Whether to grant write permissions to the subaccount.

* ro - Read-only permissions.
* rw - Read and write permissions.
    Enum: "ro", "rw"

  - `result.data.merge_candidates.services.webdisk.private` (integer)
    Whether to set the Web Disk directory's permissions to public or private.

* 1 - Private (0700).
* 0 - Public (0755).
    Enum: 0, 1

  - `result.data.merge_candidates.special` (integer)
    Whether the account is a system-created special account that the user cannot remove.

* 1 - A special account.
* 0 - Not a special account.
    Enum: 0, 1

  - `result.data.merge_candidates.sub_account_exists` (integer)
    Whether a subaccount exists with the same username.

* 1 - Exists.
* 0 - Does not exist.

Note:

  The function returns a null value if the account is not a service account.
    Enum: 0, 1

  - `result.data.merge_candidates.synced_password` (integer)
    Whether the user has synchronized the passwords for each of the subaccount's service accounts.

* 1 - Synchronized.
* 0 - Not synchronized.

Note:

  The function returns a null value if the account is not a subaccount.
    Enum: 0, 1

  - `result.data.merge_candidates.type` (string)
    The type of account.

* sub - A subaccount.
* hypothetical - A hypothetical subaccount that does not exist, but that the user could create as part of a merge.
* service - A service account.
* cpanel - The cPanel account.
    Example: "sub"

  - `result.data.merge_candidates.username` (string)
    The username for the subaccount.

* Length - 64 characters.
* Characters - a-z, A-Z, 0-9, dot (.), hyphen (-), underscore (_).

Note:

  This value does not include the domain name.
    Example: "example"

  - `result.data.merge_candidates.merge_candidates` (array)
    An array of objects that represents the service accounts that the system could merge for this subaccount.

  - `result.errors` (array,null)
    List of errors if the API failed.

  - `result.messages` (array,null)
    List of messages generated by the API.

  - `result.metadata` (object)

  - `result.status` (integer)
    * 1 - Success.
* 0 - Failed. Check the errors field for more details.
    Enum: 0, 1

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.


