DELETE /products/:id_or_alias/product_image

DELETE /products/{id_or_alias}/product_image

Deletes the product_image

Path parameters

Responses

DELETE /products/{id_or_alias}/product_image
curl \
 -X DELETE https://api.cosmily.com/api/v1/products/{id_or_alias}/product_image \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": 42,
    "product_id": 42,
    "product_draft_id": 42,
    "image": "string",
    "url": "string"
  }
}
Response examples (200)
{
  "data": {
    "id": 42,
    "product_id": 42,
    "product_draft_id": 42,
    "image": "string",
    "url": "string"
  }
}