Skip to main content
DELETE
/
v1
/
github
/
installation
Revoke GitHub installation
curl --request DELETE \
  --url https://api.example.com/v1/github/installation

Overview

Revokes the GitHub App installation for the current tenant, disconnecting CauseFlow’s access to your GitHub repositories. Required role: admin
After revoking, CauseFlow can no longer read code or open draft pull requests during investigations. Existing investigations retain previously collected data, but new investigations cannot analyze or modify code in your repositories.

Response

Returns 204 No Content on success. No response body is returned.

Error responses

StatusError codeDescription
403forbiddenThe authenticated user does not have admin role
404not_foundNo GitHub App installation exists for this tenant

Examples

curl https://api.causeflow.ai/v1/github/installation \
  -X DELETE \
  -H "Authorization: Bearer <token>"