How to delete a user (@amityco/js-sdk 5.21.0)

Hi, I’m looking to add functionality to be able to delete users, but I can’t seem to figure out how to. Is there a function on the UserRepository object, or elsewhere in the package, that I can use to delete a user?

Hi @evanABC You can delete users via this api call: Amity API please note that this api requires admin permission.

Hi, thanks for the quick reply!

Is there any way to access this api call from within the Javascript SDK?

Hi @evanABC unfortunately, this isn’t available on sdk, only api :pray: