---
title: "Permanently delete a git provider"
method: DELETE
path: "/git-providers/{provider_id}"
tags: ["Git Providers"]
---

# Permanently delete a git provider

`DELETE /git-providers/{provider_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/git-providers/{provider_id}`
- Auth: HTTP bearer

## Path parameters

- `provider_id` integer, required

## Response `204`

Provider deleted successfully

## Other responses

- `400`: Provider has connections and cannot be deleted
- `401`: Unauthorized
- `404`: Provider not found
- `500`: Internal server error

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - api operation id `delete_provider` removed and replaced with `delete_git_provider`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/git-providers/:provider_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
