---
title: "Delete server repository connection"
method: DELETE
path: "/servers/{namespace}/{server}/repo"
tags: ["servers"]
---

# Delete server repository connection

`DELETE /servers/{namespace}/{server}/repo`

Disconnect the GitHub repository connection from a server.

## Path parameters

- `namespace` string, required
- `server` string, required

## Response `200`

Repository connection deleted

- object
  - `success` boolean, required

## Other responses

- `403` — Forbidden (user doesn't own server)
- `404` — Server not found or no repository connection

## Changes

- **2026-01-25** `ea538dc2369a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/servers/:namespace/:server/repo/delete.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/revisions/9d53933ba12e?raw)
