906 B
906 B
DELETE /article/{sku}/children/{childSku}
Protected. Requires a valid session cookie (credentials: 'include').
Remove a child article from a parent article
Unlinks the child from the parent (or deletes if deleteArticle query/body is true).
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
sku |
yes | string | Parent article SKU |
childSku |
yes | string | Child article SKU |
Query parameters
| Param | Required | Type | Description |
|---|---|---|---|
deleteArticle |
no | boolean | If true, permanently deletes the child article (and cascades its entire descendant subtree if it is a parent) instead of just unlinking |
Response 200
Child removed
{
"success": true,
"deleted": true
}
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.