delete_ftp_account
Delete an FTP account from a cPanel domain, optionally removing the user's home directory as well.
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 |