Skip to content

Commit 644f857

Browse files
author
Kelsey
committed
Document /sites/{site_id}/unlink_repo
1 parent 43fe178 commit 644f857

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

swagger.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,33 @@ paths:
710710
$ref: '#/definitions/deployedBranch'
711711
default:
712712
$ref: '#/responses/error'
713+
/sites/{site_id}/unlink_repo:
714+
parameters:
715+
- name: site_id
716+
type: string
717+
in: path
718+
required: true
719+
put:
720+
operationId: unlinkSiteRepo
721+
tags: [site]
722+
description: >-
723+
[Beta] Unlinks the repo from the site.
724+
725+
726+
This action will also:
727+
728+
- Delete associated deploy keys
729+
730+
- Delete outgoing webhooks for the repo
731+
732+
- Delete the site's build hooks
733+
responses:
734+
'200':
735+
description: OK
736+
schema:
737+
$ref: '#/definitions/site'
738+
'404':
739+
description: Site not found
713740
/builds/{build_id}:
714741
parameters:
715742
- name: build_id

0 commit comments

Comments
 (0)