# Optimize Single Image By Test ID

Optimizes a single image by test id

Endpoint: POST /v1/inspect/images/{id}/optimize/{image_id}
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `id` (string, required)
    The ID of the image validation test we want to optimize the images for.

  - `image_id` (string, required)
    The ID of the image we want to optimize

## Response 200 fields (application/json):

  - `meta` (object,null)

  - `paging` (any)

  - `items` (any)

## Response 401 fields (application/json):

  - `message` (string, required)
    Response message

## Response 404 fields (application/json):

  - `message` (string, required)
    Response message


