There isn't an exposed public API that will easily do this for you. You could utilize the existing APIs for cards, datasets etc to get a list, filter for your old user and then issue update API calls for each of those objects using the appropriate API endpoints.
**Was this post helpful? Click the heart icon**
**Did this solve your problem? Accept it as a solution!**