---
title: "Unlink the GitHub App repository from an application"
method: DELETE
path: "/v2/apps/{appId}/deploy/github-app"
tags: ["Deployments"]
---

# Unlink the GitHub App repository from an application

`DELETE /v2/apps/{appId}/deploy/github-app`

Removes the GitHub App repository linkage created via `POST /v2/apps/:appId/deploy/github-app`. Returns 400 if no GitHub App link is configured.

Requires a session token. Rate limited to 3 calls per 60s per user.

## Path parameters

- `appId` string, required

## Response `200`

GitHub App linkage removed.

- object
  - `status` 'success', required

## Other responses

- `400` — The application has no GitHub App repository configured.
- `401` — This endpoint requires a session token (JWT). API keys are not accepted.
- `404` — The application does not exist or is not owned by the caller.
- `429` — The endpoint enforces its own rate limit and the caller hit the cooldown.
- `500` — An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/squarecloud/apis/square-cloud-api.md) · [All operations](https://skmtc.dev/squarecloud/apis/square-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/squarecloud/square-cloud-api/revisions/54b7733a6b95/schema)
