Deleting users who have uploaded an asset

We are trying to delete a user who have uploaded images but was unable due to foreign key constraints error. We are using the cloud version of Directus and users directly upload images via the Directus interface. Any suggestions of resolving and/or preventing this in the future? Thanks.

1 Like

I came across this issue too but couldn’t find a solution. If you’re self-hosting, you can manually re-assign everything the user did by manipulating the database directly (it won’t just apply to files they uploaded but literally everything they added or updated), but no way of doing that on cloud. I just set the user in question to “archived” which seemed more sensible than trying to erase their whole history.