site

Unlink a site's repository

[Beta] Unlinks the repo from the site.

This action will also:

  • Delete associated deploy keys
  • Delete outgoing webhooks for the repo
  • Delete the site's build hooks
put/sites/{site_id}/unlink_repo

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/sites/{site_id}/unlink_repo
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Response

OK

idstring
statestring
planstring
namestring
custom_domainstring
domain_aliasesstring[]
branch_deploy_custom_domainstring
deploy_preview_custom_domainstring
passwordstring
notification_emailstring
urlstring
ssl_urlstring
admin_urlstring
screenshot_urlstring
created_atstring dateTime
updated_atstring dateTime
user_idstring
session_idstring
sslboolean
force_sslboolean
managed_dnsboolean
deploy_urlstring
account_idstring
account_namestring
account_slugstring
git_providerstring
deploy_hookstring
capabilitiesobject
id_domainstring
build_imagestring
prerenderstring
functions_regionstring
prevent_non_git_prod_deploysboolean

Changes

No recorded changes to this operation across all 65 revisions of this API.