Skip to main content

UAPI from cPanel hook

Comments

1 comment

  • DavidN.
    Howdy, If you're writing this as a Perl module, you can 'use Cpanel::API' and invoke a UAPI function with Cpanel::API::execute('cPGreyList', 'disable_domains', { 'domains' => 'domain.tld' } ); Unfortunately, hook scripts do not have access to this. If you have more questions, please feel free to ask. Thanks! David Nielson Integration Developer, cPanel
    0

Please sign in to leave a comment.