POST
/hyax-api/v1/admin/tasks/merge-migration-duplicatesMerge migration duplicate posts
Copies subscription plans from `-m{gfId}` duplicate slugs onto the base slug post. Defaults to dry run.
Base URL: https://platform.hyax.com · Replace YOUR_API_KEY with your team API key.
Request body
| Field | Required | Description |
|---|---|---|
dryRun | No | Boolean, default `true` |
deleteDuplicates | No | Boolean. Delete duplicate posts after merge (live run only) |
Request
curl -X POST 'https://platform.hyax.com/hyax-api/v1/admin/tasks/merge-migration-duplicates' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"dryRun": true,
"deleteDuplicates": false
}'Response
{
"success": true,
"data": {
"dryRun": true,
"updated": 42,
"skipped": 5,
"conflicts": 1,
"deleted": 0,
"pairs": [],
"errors": []
}
}