---
title: "Delete a repository and optionally its reviews"
method: POST
path: "/api/repos/delete"
tags: ["repos"]
---

# Delete a repository and optionally its reviews

`POST /api/repos/delete`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- DeleteRepoInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `cascade` boolean, required
  - `repo_id` integer, required

## Response `204`

No Content

## Other responses

- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

## Changes

- **2026-10-02** `f4a08e7ffd79`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/repos/delete/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
