await authClient.admin.removeUser

I just try to remove an User, and it return success: true but i literally didn't put any id and i leave the code like this
const deletedUser = await authClient.admin.removeUser({
  userId: "user_id_here",
});

If isn't an issue, how to know if it delete nothing cuz didn't exist ?
AvrNNpg.png
XYemDPB.png
Was this page helpful?