DELETE /api/v1/admin/supplements/{supplement-id}
Delete a supplement. Optionally transfer attached data to another supplement.
Permission | Description |
---|---|
supplements.view_all | Access supplements |
supplements.delete | Delete supplement |
Name | Type | Required | Description |
---|---|---|---|
replacement_id | integer | No | ID of another supplement to transfer attached data (optional) |
No content is returned when the supplement is deleted successfully.
replacement_id
is not provided or is not valid. Number of attached items is returned in attached_data
.