# DELETE /websites/:website_id/github

**Resource:** [Websites](./websites.md)  
**MCP tool:** `disconnect_website_repo`  
**Scopes:** `websites:write`  
**Write operation:** yes

Workspace admins (and the agency): stop building this website from its GitHub repo. The live site stays exactly as it is, and waiting syncs are dropped.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `website_id` | path | string | yes | UUID of the website. Get ids from list_websites. |
| `require_approval` | query | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X DELETE   "https://api.trustpager.com/functions/v1/api/v1/websites/:website_id/github"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`