Trying to use the set_application_contact_importance API, and it says you can only use valid WHm module names. But there is no list given. Looking at the Contact Manager:Notifications page, i grabbed the list of valid options from there. But there are some it won't accept, such as "AutoSSL::CertificateExpiringCoverage", it just gives me this error:
metadata:
command: set_application_contact_importance
reason: "API failure: (XID 5v6azu) The “app” parameter value of “AutoSSL::CertificateExpiring” is invalid. It must only contain alphanumeric characters."
result: 0
version: 1
I even had the app value uri_encoded, no dice. How do i handle the ones with :: or is there an official list to configure all the notification options via the API? Below is a sample call:
/usr/local/cpanel/bin/whmapi1 set_application_contact_importance app=AutoSSL::CertificateExpiring importance=1 - Errors
/usr/local/cpanel/bin/whmapi1 set_application_contact_importance app=AutoSSL%3A%3ACertificateExpiring importance=1 - Errors
metadata:
command: set_application_contact_importance
reason: "API failure: (XID 5v6azu) The “app” parameter value of “AutoSSL::CertificateExpiring” is invalid. It must only contain alphanumeric characters."
result: 0
version: 1
I even had the app value uri_encoded, no dice. How do i handle the ones with :: or is there an official list to configure all the notification options via the API? Below is a sample call:
/usr/local/cpanel/bin/whmapi1 set_application_contact_importance app=AutoSSL::CertificateExpiring importance=1 - Errors
/usr/local/cpanel/bin/whmapi1 set_application_contact_importance app=AutoSSL%3A%3ACertificateExpiring importance=1 - Errors