deleting users

I have a court booking webapp i'm currently testing and i added some test users via a script to test the loading speed of the admin dashboard when fetching hundreds of users.
The problem is i am now unable to delete any of those users either through the dashboard or through the API. I think the most likely culprit is that the test users do not have an entry in the 'identities' table. Do i need to add a row to auth.identitites for each of the test users or is there another way?
Was this page helpful?