On this page6 sections
POST/api/products/delete-product-permanentlyProductsPermission: product.delete
Delete Product Permanently
Permanently destroys an already archived or unlinked product record. Requires explicit `confirmation: "DELETE"` literal.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
idstring (uuid)required
id parameter.
confirmationenum('DELETE')required
confirmation parameter.
Responses
Select a status code to inspect schema.
OK — Product permanently deleted.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/products/delete-product-permanently
curl -X POST "https://api.invoger.com/api/products/delete-product-permanently" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", "confirmation": "DELETE" }'Interactive playground
Response
application/json
{
"success": true,
"message": "Product deleted permanently",
"data": null
}