Version: 202201
Delete Product Image
DELETE/openapi/2022-01/products/:product_id/images/:image_id
Delete a specific product image using its unique identifier.
Request
Path Parameters
product_id stringrequired
Product's ID
image_id stringrequired
Image's ID
Responses
- 200
- 404
- 422
200
- application/json
No schema
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Product not found"
]
}
{
"errors": [
"Product not found"
]
}
422
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"ProductId must be a valid UUID"
]
}
{
"errors": [
"ProductId must be a valid UUID",
"ImageId must be a valid UUID"
]
}