---
title: "Github Disconnect"
method: POST
path: "/integrations/github/disconnect"
tags: ["github"]
---

# Github Disconnect

`POST /integrations/github/disconnect`

Soft-delete the property's connection and scrub every token.

Scrubbing matters: leaving a cached installation token or a repository
selection behind means a later reconnect could inherit state the new
installation cannot reach, which surfaces as an opaque permission error
inside a tool call rather than as unfinished setup on the card. This is the
same defect that had to be fixed for PostHog after the fact.

## Request body

- GitHubDisconnectRequest
  - `property_id` string, uuid, required

## Response `200`

Successful Response

- GitHubDisconnectResponse
  - `disconnected` boolean, required
  - `uninstall_hint` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-03** `d65b8fefae34` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/integrations/github/disconnect/post.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/d65b8fefae34/schema)
