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

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
