---
title: "DELETE /projects/{projectId}/images"
method: DELETE
path: "/projects/{projectId}/images"
---

# DELETE /projects/{projectId}/images

`DELETE /projects/{projectId}/images`

Delete images from the set of training images.

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `imageIds` string[]
- `allImages` boolean
- `allIterations` boolean

## Response `202`

Accepted

## Other responses

- `204` — No Content
- `default` — Error response

## Changes

- **2026-07-13** `e873dad2a189` — 1 warning, 2 info
  - deleted the `header` request parameter `Training-Key`
  - api operation id `DeleteImages` removed and replaced with `Images_Delete`
  - api tag `ImageApi` removed
- **2026-07-13** `38ee52c4f864` — 4 info
  - added the new optional `query` request parameter `allImages`
  - added the new optional `query` request parameter `allIterations`
  - the `query` request parameter `imageIds` became optional
  - added the success response with the status `202`
- **2026-07-13** `82dfb72c78fa` — 2 info
  - api operation id `Images_Delete` removed and replaced with `DeleteImages`
  - api tag `ImageApi` added
- **2018-02-03** `8feb7cde15fc` — 3 breaking, 2 warning
  - added the new required `header` request parameter `Training-Key`
  - the `query` request parameter `imageIds` became required
  - removed the success response with the status `202`
  - deleted the `query` request parameter `allImages`
  - …1 more

[Change history](https://skmtc.dev/azure/apis/cognitiveservices-customvision-training/changes/projects/:projectId/images/delete.md)

---

[API](https://skmtc.dev/azure/apis/cognitiveservices-customvision-training.md) · [All operations](https://skmtc.dev/azure/apis/cognitiveservices-customvision-training/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/cognitiveservices-customvision-training/revisions/e873dad2a189/schema)
