---
title: "Delete a curated BOM product"
method: DELETE
path: "/api/admin/bom-products/{id}"
tags: ["admin-affiliate"]
---

# Delete a curated BOM product

`DELETE /api/admin/bom-products/{id}`

## Request

- Base URL: `https://voltplan.app`
- URL: `https://voltplan.app/api/admin/bom-products/{id}`
- Auth: HTTP bearer

Deletes the `bom_products` record with the PocketBase superuser client. An unknown id is reported as 500 (the PocketBase 404 is not mapped).

## Response `200`

Record deleted.

- AdminAffiliateSuccessResponse
  - `success` unknown, required

## Other responses

- `403`: Admin access required. Returned for a missing, invalid or expired bearer token as well as for a valid token whose user lacks `is_admin=true`; admin endpoints never answer 401.
- `500`: Unknown id, PocketBase error, or admin credentials not configured; `error` carries the thrown message.

---

[API](https://skmtc.dev/voltplan/apis/voltplan-api.md) · [All operations](https://skmtc.dev/voltplan/apis/voltplan-api/llms.txt) · [OpenAPI document](https://skmtc.dev/voltplan/apis/voltplan-api/revisions/575b86a7af92?raw)
