CPANEL-39951 - modifyacct: set notify_autossl_expiry doesn't change account
When I issue the WHMAPI1 command "modifyacct" to disable an account's notify_autossl_expiry setting, it doesn't seem to change it, even though no errors or warnings are issues. AutoSSL is enabled for this account. This session below is logged in as root in SSH:
[root@******~]# whmapi1 modifyacct user='trial1' notify_autossl_expiry=0
---
data:
cpuser:
BACKUP: 1
BWLIMIT: '2621440000'
CONTACTEMAIL: support@**********
CONTACTEMAIL2: webmaster@**********
DBOWNER: trial1
DEADDOMAINS: []
DEMO: 0
DISK_BLOCK_LIMIT: 1024000
DOMAIN: trial1.**************.com
DOMAINS:
- m.trial1.************.com
- *************.com
- m.************.com
FEATURE-AUTOSSL: 1
FEATURELIST: default
HASCGI: 1
HASDKIM: 1
HASSPF: 1
HOMEDIRLINKS: []
IP: 11.22.33.44
LANG: english-utf8
LEGACY_BACKUP: 1
LOCALE: en
MAILBOX_FORMAT: maildir
MAXADDON: 2
MAXFTP: 1
MAXLST: 0
MAXPARK: 2
MAXPASSENGERAPPS: 4
MAXPOP: 10
MAXSQL: 1
MAXSUB: 10
MAX_DEFER_FAIL_PERCENTAGE: unlimited
MAX_EMAILACCT_QUOTA: unlimited
MAX_EMAIL_PER_HOUR: unlimited
MTIME: '1644027319'
OWNER: *******
PLAN: *********
PUSHBULLET_ACCESS_TOKEN: ''
RS: jupiter
SSL_DEFAULT_KEY_TYPE: system
STARTDATE: '1252001751'
SUSPENDTIME: '1370300754'
USER: trial1
_PACKAGE_EXTENSIONS: ''
__CACHE_DATA_VERSION: '0.82'
notify_account_authn_link: 1
notify_account_authn_link_notification_disabled: 1
notify_account_login: 0
notify_account_login_for_known_netblock: 0
notify_account_login_notification_disabled: 0
notify_autossl_expiry: 1
notify_autossl_expiry_coverage: 1
notify_autossl_renewal: 1
notify_autossl_renewal_coverage: 1
notify_autossl_renewal_coverage_reduced: 1
notify_autossl_renewal_uncovered_domains: 1
notify_bandwidth_limit: 1
notify_contact_address_change: 0
notify_contact_address_change_notification_disabled: 0
notify_disk_limit: 1
notify_email_quota_limit: 1
notify_password_change: 1
notify_password_change_notification_disabled: 1
notify_ssl_expiry: ''
domain: trial1.*********.com
setshell: unmodified
user: trial1
metadata:
command: modifyacct
output:
messages: []
warnings: []
reason: Account Modified
result: 1
version: 1
[root@********~]#
-
Hey there! Thanks for reporting this. Sure enough, I've confirmed this behavior on my end and opened case CPANEL-39951 with our developers. I'll be sure to post here again once I get an update. 0 -
Thanks! I'm glad it's not me (or my code) this time. ;) I appreciate you opening a case for this. 0 -
Anytime! I really appreciate all the API stuff you've been hunting down lately! 0
Please sign in to leave a comment.
Comments
3 comments