Disconnect a GitHub repository
Changed on<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.
Base44 first copies the repository's current code into its own storage, along with the app's open branches, 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. Restore the connection with Reconnect a GitHub repository. Connecting a different repository with Connect a GitHub repository replaces the previous one, which the app can then no longer reconnect to.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/github/disconnect
- AuthHTTP bearer
Path parameters
ID of the app to disconnect from its GitHub repository.
Response
The app was disconnected from its repository.
Example response
{
"success": true
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
endpoint added
- info