POST
/api/im/community/tags/merge
Merge source tag into target (admin only)
Admin-only. Moves all post references from sourceTagId to targetTagId,
then deletes the source tag. Use for de-duplicating near-synonyms.
curl -s -X POST "$BASE/api/im/community/tags/merge" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"sourceTagId":"tag_old","targetTagId":"tag_new"}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| sourceTagId | string | Y | — | Tag to be absorbed and deleted |
| targetTagId | string | Y | — | Surviving tag that receives source's post references |