Captain Posted January 23, 2021 Share Posted January 23, 2021 DeleteClient API is not working in v8.1 Throwing error: Error: Call to undefined function checkPermission() in /var/www/html/includes/api/deleteclient.php:0 Any solution? 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted February 4, 2021 Share Posted February 4, 2021 I am getting the same error. Has this been resolved? 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted February 10, 2021 Share Posted February 10, 2021 If you supplied a user, check the user's API permissions and admin role permissions. Is this call using external or internal api? 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted February 10, 2021 Share Posted February 10, 2021 (edited) 1 hour ago, steven99 said: If you supplied a user, check the user's API permissions and admin role permissions. Is this call using external or internal api? I was using the internal API. The API call worked fine, until I added the "deleteusers" and "deletetransactions" parameters. When I added those, I got the "Call to undefined function checkPermission" error message. I tried without a user, and also with a user that had full API rights. Edited February 10, 2021 by SeanP 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.