delete_ftp_account
Delete an FTP account from cPanel by username and domain, with an option to also remove the account's home directory.
Instructions
Delete an FTP account
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user": "<user>",
"domain": "<domain>"
},
"name": "delete_ftp_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | FTP username to delete | |
| domain | Yes | Associated domain | |
| destroy | No | Also delete the FTP user's home directory |