Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

API v2 Equivalent of APIv1 DenyIp::deldenyip

Discussion in 'cPanel Developers' started by _Xstream_, Jan 27, 2015.

  1. _Xstream_

    _Xstream_ Registered

    Joined:
    Jan 27, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    A client of mine is wanting to offer an unblock ip option for clients who block themselves out of their cPanel installs.

    I have found a v1 API call that looks like it'll do the trick (DenyIp::deldenyip) but I can't find an eqivalent in APIv2 or the UAPI docs.

    Does anyone know if there is a newer way of achiving this?

    Thanks in advance for any replies.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    To clarify, are you aware that the referenced API function is for IP addresses denied access to the website through the .htaccess file, and not for access to cPanel itself?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice