latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
Notifications

Update app's event contact importance setting

This function sets the importance level of an application event 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.

get/set_application_contact_event_importance

Query parameters

appstring required
Example:Check

The cPanel & WHM application module's name.

eventstring required
Example:SecurityAdvisorStateChange

The event's name.

importance'High' | 'Medium' | 'Low' | 'Disabled' required
Example:Disabled

The importance level at which to send the notification.

  • High
  • Medium
  • Low
  • Disabled

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "set_application_contact_event_importance",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}