This function checks whether a cPanel user's home directory contains a valid .my.cnf file.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ has_mycnf_for_cpuser \ user='user'
{- "data": {
- "has_mycnf_for_cpuser": 1
}, - "metadata": {
- "command": "has_mycnf_for_cpuser",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}