Description
This function unlinks a service account from a subaccount.
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 subaccount's username.
|
A username that meets the account name limitations.
Note: This value does notinclude the domain name. |
example |
domain |
string |
Required The subaccount's associated domain. |
A domain that the cPanel account owns. |
example.com |
service |
string |
Required The service to unlink. |
|
ftp |
dismiss |
Boolean |
Whether to dismiss the service account as a merge candidate. Note: If any email, FTP, or Web Disk accounts use the same username, cPanel's User Manager interface (Home >> Preferences >> User Manager) allows you to merge those accounts into a subaccount. This parameter defaults to 0. |
|
0 |
Returns
This function only returns metadata.