GitHub

Disconnect a GitHub mirror

Disconnects the repository from GitHub in any import or sync state, making it a plain repository. Unstarted sync work is retired and nothing on GitHub is read or changed. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/github/disconnect

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

ownerstring required
repostring required

Request body

expectedVersioninteger required

Response

Response for status 200

versioninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.