# Retire one of the organization's Git providers

> Organization owners (`org.manage`). Nobody can connect it any more, every member's connection to it is deleted, and the git proxy refuses its repositories; the workspaces that came from it keep their files. The stored secret and CA are wiped. Registering the same id again brings the provider back.

URL: https://docs.harthelm.dev/reference/api/git/retire-org-git-provider/ · Harthelm v1.6.1

## DELETE /api/v1/orgs/{org}/git-providers/{id}

Operation `retireOrgGitProvider` · area `git` · credentials: the cookie `__Host-harthelm_session`, the header `Harthelm-Authorization` or `Authorization: Bearer`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `org` | path | string, uuid | yes |  |
| `id` | path | OrgGitProviderID | yes | The provider's id in the organization (not its ref). |

### Responses

| Status | Description | Body |
|---|---|---|
| 204 | Retired. | - |
| 401 | No or invalid credentials. | `application/problem+json`: Problem |
| 403 | The caller may not do this, or a CSRF check failed. | `application/problem+json`: Problem |
| 404 | The resource does not exist or is not visible to the caller. | `application/problem+json`: Problem |
| 409 | The request conflicts with the current state; `type` names the conflict. | `application/problem+json`: Problem |
