---
title: "Delete a repository"
method: DELETE
path: "/v1/vcr/repository/{idOrName}"
tags: ["vcr"]
---

# Delete a repository

`DELETE /v1/vcr/repository/{idOrName}`

Schedule a repository for deletion. The repository is marked so it disappears from list/get immediately; subscriber-vcr reclaims every image (manifests, blobs, tags and rows) and finally deletes the repository row asynchronously via the VcrRepositoryRemoved event.

## Path parameters

- `idOrName` string, required

## Query parameters

- `projectId` string, required
- `teamId` string
- `slug` string

## Response `202`

- unknown

## Other responses

- `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`
- `410`

## Changes

> 39 revisions in range; 22 could not be searched.

- **2026-07-21** `2ae10ee9d21c` — 1 info
  - added the non-success response with the status `410`
- **2026-07-08** `3ff660568354` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/vcr/repository/:idOrName/delete.md)

---

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