Terminate user via API
Options
MeirNaim
Expensify Customer Posts: 2
Hi,
I would like to terminate a user through the API.
I have few issues:
- In order to update the 'Is terminated' I need some required fields , how can I get these specific user details (Manager Email, Policy ID...)?
- When I try as admin to get policy details of a user I get an error saying :"Error: Exception Not authorized to authenticate as user name@Domain.com " though Im using partnerUserID & partnerUserSecret (I can get only the policies under the admin user)?
Regards,
Meir.
Answers
-
Hi @MeirNaim - that's correct, you can only retrieve policy member details through the API if you're using partner credentials for a policy admin.
-
Hi,
So How can I get the user details through the API based only on the user Email?