users
admin
Merge user into another (Admin)
Changed onMerge a duplicate user account into a target main account.
Account Merging Behavior:
- Transfers all comments, articles, reactions, and follows to the target user (merge_user_id).
- Deletes/destroys the source user account in the background once its content has been transferred, so it may still exist briefly after this request returns.
- High risk! Action is permanent and irreversible.
- Requires Super Admin credentials.
post/api/admin/users/{id}/merge
Request
- Base URLhttps://dev.to
- Auth
- API key in header api-key
- or HTTP bearer
Path parameters
idinteger required
The duplicate user ID that will be deleted after contents merge.
Request body
Response
successful
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking