Images
Unselect Image
Changed onThis endpoint allows the user to unselect a photo for a product. The user must provide the product code and the image ID to unselect.
post/cgi/product_image_unselect.pl
Request
- Base URLhttps://world.openfoodfacts.net
- AuthAPI key in header User-Agent
Request body multipart/form-data
Example request
{
"code": "4251105501381",
"id": "front_fr"
}Response
OK
Example response
{
"status": "status ok",
"imagefield": "front_fr"
}Changes
- breaking
the request's body type changed from no type to
object - info
added the new optional request property
code - info
added the new optional request property
id
- breaking