business_knowledge

Disconnect GitHub from business knowledge

Clears the installation and the selected repositories for this environment.

post/api/projects/{project_id}/business_knowledge/repositories/disconnect/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/business_knowledge/repositories/disconnect/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

connectedboolean required

True when a GitHub installation is connected for this environment.

integration_idinteger nullable required

Connected GitHub integration id, or null when GitHub is not connected.

integration_namestring required

GitHub account name for the connected installation. Empty when GitHub is not connected.

reposstring[] required

Lowercased owner/repo names business knowledge is allowed to read.

Changes

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