---
title: "Invalidate operation ID so it can be garbage collected"
method: DELETE
path: "/imports/images/{operation_id}"
tags: ["Imports"]
---

# Invalidate operation ID so it can be garbage collected

`DELETE /imports/images/{operation_id}`

## Path parameters

- `operation_id` string, required

## Response `200`

success

- ImageImportOperation — An import record, creating a unique identifier for referencing the operation as well as its state
  - `uuid` string
  - `status` 'pending' | 'queued' | 'processing' | 'complete' | 'failed' | 'expired'
  - `expires_at` string, date-time
  - `created_at` string, date-time

## Other responses

- `500` — Internal Error

## Changes

- **2020-11-04** `ce07c565cfc8` — 1 info
  - endpoint added
- **2020-03-17** `001d1fd95836` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/anchore/apis/anchore-engine-api-server/changes/imports/images/:operation_id/delete.md)

---

[API](https://skmtc.dev/anchore/apis/anchore-engine-api-server.md) · [All operations](https://skmtc.dev/anchore/apis/anchore-engine-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anchore/anchore-engine-api-server/revisions/afb4f60ab44a/schema)
