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
------------------------------
Original Message:
Sent: 06-20-2024 09:04
From: Isuru Samaradiwakara
Subject: Imperva Login Protect API
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
------------------------------