APIProduct image
Delete a product image
DELETE
Deletes one image from its product. The image's slot becomes free; the other images keep their ranks. When your company requires every product to have a photo, deleting a product's last image is rejected with a 400; upload the replacement first.
The delete updates the product's updated_datetime and sends a product update webhook.
Required permission: products_permissions_edit (plus access to the product under team restrictions).
Bearerheader
AuthorizationBearer <token>API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.
id*stringID of the image, as listed in the product's images. An ID that doesn't exist for your company returns 404.
No Content
curl -X DELETE 'https://app.distru.com/public/v1/product-images/00000000-0000-0000-0000-00000000000d'Example Response
Empty