Delete Product
Permanently delete a product.
Endpointโ
DELETE /v1/products/{id}
Authenticationโ
Requires an API key with the products:write scope.
Parametersโ
| Parameter | Type | Location | Description |
|---|---|---|---|
id | integer | path | The product ID |
Example Requestโ
curl -X DELETE "https://app.equipdash.com/api/v1/products/15" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."
Responseโ
Success (204 No Content)โ
Returns no content on successful deletion.
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 401 | invalid_api_key | Invalid API key |
| 403 | insufficient_scope | API key lacks products:write scope |
| 403 | forbidden | Product belongs to different supplier |
| 404 | resource_not_found | Product does not exist |
| 409 | conflict | Product cannot be deleted (has active bookings) |
Important Notesโ
- This action permanently deletes the product and cannot be undone
- Products with active bookings may not be deletable
- Consider setting
statustodisabledinstead if you want to preserve the product data