Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  Imperva Login Protect API

    Posted 12 days ago

    Hi, 

    I'm trying to automate Login Protect account deletion using a script. I'm following the API documentation and I'm able to get the user list. However when I try to remove a login protect user, I get the below error. I created the API key using my account and it has permissions to remove login protect users from console. Any idea how to fix this?

    {
      "res": 9403,
      "res_message": "Unknown/unauthorized account_id",
      "debug_info": {
        "account_id": ****,
        "id-info": "999999"
      }
    }

    Thanks!


    #CloudWAF(formerlyIncapsula)

    ------------------------------
    Isuru Samaradiwakara
    ------------------------------


  • 2.  RE: Imperva Login Protect API

    Posted 2 days ago

    Hi Isuru, 

    Can you please enter the **server ID** and not the site ID ?

    Many times we have seen such an error because we have not added server ID.

    If this does not help, let's open a support case to resolve this issue.

    Best, 

    Vihar



    ------------------------------
    Vihar Desai
    ------------------------------