As deleting a user will require the utilization of the Management API, you won’t be able to perform this action from directly within a native (non-confidential) client. Instead, you will want to call an API which can securely handle and use Management API access tokens: