Skip to content

Disconnect a GitHub App installation

DELETE/v1/git-connections/github-app/installations/{uid}

Removes a GitHub connection from this workspace. Deployments that build from that GitHub account's repositories (see dependent_deployments in List GitHub App installations) can no longer build from git.

If no other workspace uses the same GitHub installation, the RumptyCloud GitHub App is also uninstalled from the GitHub account or organization. When other workspaces still use it, only this workspace's connection is removed.

Requires the workspace manage permission (owner or admin role).

Authentication

Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.

Path parameters

uidstringRequired

The connection's uid from List GitHub App installations.

Headers

X-Workspace-SlugstringRequired

Slug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.

Response

200

The connection was removed.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.
404The connection does not exist in this workspace.
500Uninstalling the app on GitHub or removing the connection failed. The connection is kept.

Errors use the standard error format.