This function returns whether the cPanel user has an associated Site Quality Monitoring account.
uapi --output=jsonpretty \ --user=username \ SiteQuality \ has_site_quality_user
{- "apiversion": 3,
- "func": "has_site_quality_user",
- "module": "SiteQuality",
- "result": {
- "data": {
- "has_site_quality_user": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}