**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` string (required)

  Product's ID
- `image_id` string (required)

  Image's ID

## Responses

**200 | 404 | 422**

200

**application/json**

No schema

404

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "Product not found"
  ]
}
```

```json
{
  "errors": [
    "Product not found"
  ]
}
```

422

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "ProductId must be a valid UUID"
  ]
}
```

```json
{
  "errors": [
    "ProductId must be a valid UUID",
    "ImageId must be a valid UUID"
  ]
}
```
