git-integration
Git Integration
Disconnect Git Provider
Disconnect a git provider by revoking its OAuth token and deleting credentials.
For OAuth App providers: revokes the GitHub OAuth token (best-effort), deletes the credential record, and clears credential_id on the provider. For GitHub App providers: clears the installation_id (user can reinstall).
The provider record is kept so users can reconnect without losing repo configs.
Args: provider_id: Provider public ID (UUID) ctx: Application context with session, user, and company info
Returns: StandardResponse with success message
post/api/v1/git-providers/{provider_id}/disconnect
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/api/v1/git-providers/{provider_id}/disconnect
- Auth: none declared
Path parameters
provider_idstring required
Headers
Authorizationstring
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.