This function sets the importance level of an application's events for WHM's Contact Manager interface (WHM >> Home >> Server Contacts >> Contact Manager).
For a list of available modules, use the WHM API 1
get_all_contact_importances
function.
Note:
The system creates a notification setting for the application's events if one does not already exist.
app required | string The cPanel & WHM application module's name. Example: app=Check |
importance required | string The importance level at which to send the notification.
Example: importance=Disabled |
object |
whmapi1 --output=jsonpretty \ set_application_contact_importance \ app='Check' \ importance='Disabled'
{- "metadata": {
- "command": "set_application_contact_importance",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}