Are you receiving SNAP/EBT benefits? The Expensify.org/SNAP-VAX campaign is live and accepting new members. Learn more about receiving $50 for submitting a SNAP receipt and $50 for getting your COVID-19 vaccine here and join today!

Terminate user via API

MeirNaim
MeirNaim Expensify Customer Posts: 2

Hi,


I would like to terminate a user through the API.

I have few issues:

  1. In order to update the 'Is terminated' I need some required fields , how can I get these specific user details (Manager Email, Policy ID...)?
  2. 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 [email protected] " though Im using partnerUserID & partnerUserSecret (I can get only the policies under the admin user)?

Regards,

Meir.

Answers