Hi Nataliya,
Thank you for the reply.
I followed the step that u mentioned, but it disables for all the domain owner.
which is not my requirement, I want to disable only if SSL is disabled else it should be displayed as it is.
FYI, I am using api to add/mod domains. (not using plesk admin panel)
-harshil