---
title: "Uninstall GitHub App for the current account"
method: POST
path: "/github/app/uninstall"
tags: ["GitHub"]
---

# Uninstall GitHub App for the current account

`POST /github/app/uninstall`

## Request

- Base URL: `https://api.apphandoff.com/api`
- URL: `https://api.apphandoff.com/api/github/app/uninstall`
- Auth: API key in cookie `sb-access-token`

Deletes the installation via GitHub API and marks the local installation row suspended.

## Response `200`

Uninstalled or already removed on GitHub

- object
  - `ok` boolean, required
  - `status` 'uninstalled' | 'already_uninstalled', required
  - `installation_id` integer, required

## Other responses

- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `500`: Server error
- `502`: GitHub API returned an unexpected status during uninstall

---

[API](https://skmtc.dev/apphandoff/apis/apphandoff-api.md) · [All operations](https://skmtc.dev/apphandoff/apis/apphandoff-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apphandoff/apis/apphandoff-api/revisions/9f138fe46d56?raw)
