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 token disappeared after upgrade

Discussion in 'cPanel Developers' started by urgido, May 31, 2019.

Tags:
  1. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    129
    Likes Received:
    9
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Hi there
    Is normal that any time that cpanel update my API disappears and would be necessary to create a new one again?

    I am using my own CRM to connect throught cpanel API to do some stuuf like suspend accounts, create, etc. So, I need to change every time that this occurs.

    Thanks a lot.
    Regards
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,504
    Likes Received:
    2,179
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @urgido,

    I've been unable to reproduce this behavior. Can you share the full step-by-step instructions for how we can attempt to reproduce this issue on a test server?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    129
    Likes Received:
    9
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    I have a custom billing system based on PHP, so I manage my hosting accounts throught this systema with a reseller API (api token). After two upgrades of cpanel (I don't remeber whats versions) the API token dissapears from our WHM. Our team detectedthis issue inmeadiatly because we receive a many reports from our customers that they are'nt able to login throught our billing system. So, we go back and recreate the api token to stay fullonline.

    Regards :)
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,504
    Likes Received:
    2,179
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @urgido,

    Can you open a support ticket so we can take a closer look at the system to see what could have lead to the removal of the API token after a cPanel update? You can post the ticket number here and we'll link this thread to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    129
    Likes Received:
    9
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Your Support Request ID is: 12541261

    Thanks!
     
    cPanelMichael likes this.
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,504
    Likes Received:
    2,179
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, our Technical Analysts were unable to find any logs indicating the cPanel update removed the API token. We provided an Auditd rule to monitor the token and log change activity on the file in-case it's removed again in the future.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    urgido likes this.
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