This function checks whether a user has access to a feature on a feature list.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ verify_user_has_feature \ user='username' \ feature='sslinstall'
{- "data": {
- "has_feature": 1,
- "query_feature": "sslinstall"
}, - "metadata": {
- "command": "verify_user_has_feature",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}