---
title: "Delete repository"
method: DELETE
path: "/v1/git/repositories/{id}"
tags: ["git"]
---

# Delete repository

`DELETE /v1/git/repositories/{id}`

Removes a repository and all its associated worktrees from disk and state management

## Path parameters

- `id` string, required

## Response `200`

OK

- object

## Other responses

- `400` — Repository not found or deletion failed
- `500` — Internal server error

---

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