---
title: "Disconnect a project's repo connection"
method: DELETE
path: "/projects/{id}/git-connection"
tags: ["Projects", "Git Connections"]
---

# Disconnect a project's repo connection

`DELETE /projects/{id}/git-connection`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/git-connection`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, uuid, required

## Response `204`

Connection removed

## Other responses

- `401`: Unauthorized - invalid or missing token
- `403`: Project not owned by the caller
- `404`: Project not found, or has no repo connection
- `409`: A Git source transition is pending or complete, so the recorded repository cannot be disconnected
- `500`: Failed to disconnect project git

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 6 breaking, 10 info
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `404`
  - …12 more
- **2026-09-04** `c2ec82fb8ce8`: 1 info
  - added the non-success response with the status `409`
- **2026-08-27** `bb44e98aba2e`: 8 breaking, 5 warning
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - the response's body type changed from `object` to no type for status `404`
  - the response's body type changed from `object` to no type for status `500`
  - …9 more
- **2026-07-27** `bb52784e098a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/git-connection/delete.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
