Unlink a site's Git repository
One step with Netlify. We can help you get access.
Get something done
Unlink a site's Git repository
with Netlify
Works with AI assistants
Use Netlify: its Netlify's API documentation Site API lets you unlink a site's Git repository in a single step (PUT /sites/{site_id}/unlink_repo). Netlify also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I disconnect my site from its Git repo?
- What gets deleted when I unlink a repository from a site?
Say it to your AI assistant
- Unlink the repository from site {site}.
- Disconnect site {site} from Git, removing its deploy keys and build hooks.
For your developer
PUT /sites/{site_id}/unlink_repo in Netlify's API documentation Site API. Full spec on APIs.io.