---
title: "Cancel an incomplete source export"
method: DELETE
path: "/projects/{id}/source-export"
tags: ["Projects", "Git Connections"]
---

# Cancel an incomplete source export

`DELETE /projects/{id}/source-export`

## Request

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

Restores platform source writes while the project is in
`git_exporting` or `git_pending`. If Volcano reserved or deployed the
root commit, export remains consumed and cannot be run again. The
connected repository and any commit already pushed to it are unchanged.

## Path parameters

- `id` string, uuid, required

## Response `204`

The incomplete source transition was canceled

## Other responses

- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - project not owned by the caller
- `404`: Project not found
- `409`: No incomplete transition exists, or Git already took ownership
- `500`: Internal server error
- `501`: Source export is not available in this deployment mode

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 7 breaking, 12 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`
  - …15 more
- **2026-09-04** `c2ec82fb8ce8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/source-export/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)
