Description
This function removes a service account as a link candidate to create a subaccount or link to a subaccount. When you use this function, the system removes the Link option in cPanel's User Manager interface (Home >> Preferences >> User Manager).
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
username |
string |
Required The username for the service account.
|
A username that meets the account name limitations.
Note: This parameter does notinclude the domain name. |
example1 |
domain |
string |
Required The service account's associated domain. |
A domain that the cPanel account owns. |
example.com |
services.email.dismiss |
Boolean |
Whether to dismiss the merge of the email service account. Note: You must use at least one of the following parameters:
This parameter defaults to 0. |
|
1 |
services.ftp.dismiss |
Boolean |
Whether to dismiss the merge of the FTP service account. Note: You must use at least one of the following parameters:
This parameter defaults to 0. |
|
1 |
services.webdisk.dismiss |
Boolean |
Whether to dismiss the merge of the Web Disk service account. Note: You must use at least one of the following parameters:
This parameter defaults to 0. |
|
1 |
Returns
This function only returns metadata.