830 B
830 B
DELETE /attributevalue/{id}
Protected. Requires a valid session cookie (credentials: 'include').
Delete attribute value
Deletes an attribute value and cascades to article assignments.
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
id |
yes | integer |
Response 200
Deleted successfully
Errors
| Status | Description |
|---|---|
| 400 | Bad request or no company selected — {"error":"…"} |
| 401 | Unauthorized — {"error":"…"} |
| 403 | Forbidden — {"error":"…"} |
| 404 | Attribute value not found — {"error":"…"} |
| 409 | Attribute value in use — {"error":"…"} |
| 500 | Server error — {"error":"…"} |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.