---
title: delete-a-repository-image
product: vercel
url: /docs/rest-api/vcr/delete-a-repository-image
canonical_url: "https://vercel.com/docs/rest-api/vcr/delete-a-repository-image"
last_updated: 2026-07-03
type: reference
prerequisites:
  []
related:
  - /docs/rest-api
summary: Learn about delete-a-repository-image on Vercel.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# Delete a repository image

```http
DELETE /v1/vcr/repository/{idOrName}/images/{imageId}
```

Schedule an image for deletion. The image is marked so it disappears from list/get immediately; subscriber-vcr reclaims the manifest, blobs, tags and row asynchronously via the VcrManifestRemoved event.

## Authentication

**bearerToken**: HTTP bearer

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `idOrName` | string. maxLength: 255 | Yes |  |
| `imageId` | string. maxLength: 255 | Yes |  |


## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `projectId` | string | Yes |  |
| `teamId` | string | No | The Team identifier to perform the request on behalf of. |
| `slug` | string | No | The Team slug to perform the request on behalf of. |


## Responses

### 202: No description

Content-Type: `application/json`

```json
{
  "nullable": true
}
```

### 400: One of the provided values in the request query is invalid.

### 401: The request is not authorized.

### 403: You do not have permission to access this resource.

### 404: No description

---

## Related

- [vcr endpoints](/docs/rest-api#vcr)

- [REST API overview](/docs/rest-api)

- [OpenAPI spec](https://openapi.vercel.sh/) (machine-readable, all endpoints)

---

[View full sitemap](/docs/sitemap)
