Hi everyone, I recently did a new install of ghost and restored from a set of backups. What I noticed is that I have a few users with the same name now, but different slugs. Is there a way to merge users together in Ghost?
- What version of Ghost are you using?
Running version 3.4.0
It’s not possible via the admin, but it can be done with the Admin API. You could get all the posts assigned to an author and use their ID to rewrite the author value using api.pages.browse(…
api.pages.edit(…
:
https://ghost.org/docs/api/v3/javascript/admin/#endpoints
https://ghost.org/docs/api/v3/javascript/content/#endpoints
Note that the Admin API mirrors some of the features shown in the Content API, hence the second link.
Let us know how you get on, and whether you need more help with using the Admin API