The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page