---
title: "Delete an image."
method: DELETE
path: "/api/image/{imageID}"
tags: ["Images"]
deprecated: true
---

# Delete an image.

`DELETE /api/image/{imageID}`

## Request

- Base URL: `https://passivelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://passivelogic.com/api/image/{imageID}`
- Auth: one of:
  - API key in header `X-PL-AUTH`
  - API key in header `Authorization: PL-API-KEY`
  - API key in header `PL-API-KEY`
  - HTTP basic
- TypeScript: <https://skmtc.dev/passivelogic/apis/passivelogic-http-api/docs/api/image/:imageID/delete.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

DEPRECATED: Delete an image node via the normal GraphQL endpoint or a QuantumSync operation. This route has been deprecated in favor of: POST /api/graphql.

Delete the image with the given quantum node ID.
If authorized and the given image is found, it will be deleted from the file store and the database.
The ID provided must be the ID of the `Image` Quantum node, NOT the name of the image.

## Path parameters

- `imageID` string, required

## Response `200`

OK

- GenericMessageResponse: Generic response information
  - `message` string, required: Informative message relating to the specific response

---

[API](https://skmtc.dev/passivelogic/apis/passivelogic-http-api.md) - [All operations](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/revisions/28fce63bcdbb?raw)
