Does API1 SSL::delete work on current version of cPanel?

morissette

Well-Known Member
May 24, 2009
119
2
66
Austin, TX
cPanel Access Level
Root Administrator
Does API1 SSL::delete, SSL::deletekey and SSL::deletecrt work on the latest version of cPanel?

I am currently writing something to use this but want to ensure that it's not all a waste. I know a lot of things have changed recently in regards to SSL so if the above API calls do not work what alternative do I have to remove an SSL installation manually from CLI?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Those three functions are still available with API1 on cPanel version 11.44. However, note that it's advised that you consider switching from API1 to one of the newer sets of functions as early as you can.

Thank you.
 

morissette

Well-Known Member
May 24, 2009
119
2
66
Austin, TX
cPanel Access Level
Root Administrator
Yes I did get it to work without issue.

Which newer version? I did not see any SSL::delete in API2, are you referring to the UAPI?

If so I've got A LOT of old code to update, when is API1/2 going to be deprecated?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Yes, I was referring to UAPI. There are no immediate plans to remove the ability to use API 1 or API 2. That's something that would be announced well in advance to give you time to modify your custom applications.

Thank you.