---
title: "Remove Repository Route"
method: DELETE
path: "/v1/repos/{repository_id}"
---

# Remove Repository Route

`DELETE /v1/repos/{repository_id}`

## Request

- Base URL: `https://api.graphify.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.graphify.com/v1/repos/{repository_id}`
- Auth: HTTP bearer

Remove a repository: the row, its 16 cascades, and its S3 prefix (queued).

Destructive and not undoable. The non-destructive path is the per-repo toggles
(POST /repos/{id}/enable) -- that is "disable", this is "remove". Refused 409
`repository_busy` while any build, review, verification or autofix is non-terminal.

Behind ``repository_removal_enabled`` (404 ``repository_removal_disabled`` when off).

## Path parameters

- `repository_id` string, uuid, required

## Headers

- `X-Graphify-Tenant-ID` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graphify/apis/graphify-control-plane.md) · [All operations](https://skmtc.dev/graphify/apis/graphify-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/graphify/apis/graphify-control-plane/revisions/0e75c82b5ea8?raw)
