Delete a product group (tenant:masterdata:write)
DELETE /api/masterdata/product-groups/{id}
Module: Master data · operationId: deleteProductGroup · Tag: Product groups · Auth: access token (Authorization: Bearer <accessToken>)
Soft-deletes a group without articles and sub-groups (else 409). Emits masterdata.product_group.deleted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Responses
- 204 Deleted
- 401 Missing, invalid or expired token (empty body)
- 403 The token lacks the permission or carries no tenant (
application/json) - 404 Not found in the caller's tenant (or merged, see
code) (application/json) - 409 Stale version or conflict with existing data (
application/json)
Example request
curl -X DELETE 'https://api.mbcom.cloud/api/masterdata/product-groups/3f6c1a52-7b1e-4d2a-9c8e-2b5f0d6a91e4' \
-H "Authorization: Bearer $ACCESS_TOKEN"