curl -X DELETE "https://vzguoukmiwxvqdnabfma.supabase.co/functions/v1/api/products/123e4567-e89b-12d3-a456-426614174000" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept-Version: 1.0"
{
"success": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"deleted": true
}
}
Products
Delete a product
Delete a product that is not used in a publishing program.
DELETE
/
api
/
products
/
{id}
curl -X DELETE "https://vzguoukmiwxvqdnabfma.supabase.co/functions/v1/api/products/123e4567-e89b-12d3-a456-426614174000" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept-Version: 1.0"
{
"success": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"deleted": true
}
}
Deletes a product from your organisation.
Products linked to publishing programs cannot be deleted — remove those program
links first, or you receive a conflict error.
Headers
string
required
Organisation API key.
string
default:"1.0"
API version. Use
1.0.Path parameters
string
required
Product UUID.
Response
Returns 200 with a deletion confirmation.boolean
required
true when the delete request completes.object
required
Errors
| Status | Code | When |
|---|---|---|
409 | CONFLICT | Product is used in one or more publishing programs |
401 | — | Missing or invalid API key |
500 | DATABASE_ERROR / INTERNAL_ERROR | Unexpected server error |
curl -X DELETE "https://vzguoukmiwxvqdnabfma.supabase.co/functions/v1/api/products/123e4567-e89b-12d3-a456-426614174000" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept-Version: 1.0"
{
"success": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"deleted": true
}
}
Last modified on July 22, 2026