Disconnect a GitHub repository
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Disconnects the app from its GitHub repository. The repository itself stays on GitHub, untouched.
Only the app's owner or the user who connected the repository can disconnect it, and the workspace plan has to include the GitHub integration.
Base44 first copies the repository's current code into its own storage, and the app carries on from that version. If the copy fails, the app stays connected and you can retry. Base44 then stops syncing and tries to remove the webhook it installed on the repository. A webhook it can't remove no longer affects the app. The response comes back only after all of that finishes.
Afterwards Get GitHub connection reports connected: false and names the repository in previous_repository. Bring it back with Reconnect a GitHub repository. Connecting a different repository with Connect a GitHub repository replaces the previous one, and it can't be reconnected after that.
Path parameters
ID of the app to disconnect from its GitHub repository.
ID of the app to disconnect from its GitHub repository.
Response
The app was disconnected from its repository.
Example response
{
"success": true
}Changes
Changed in 1 of the 18 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○
Of the 18 revisions, 1 has no diff computed.