Disconnect a repository by removing the webhook and deactivating the installation
Authorization header.
"disconnected" on successowner/repo formatwebhook_id, the endpoint attempts to delete the webhook from GitHub using:
Installation record is marked as inactive:
is_active = False)/api/v1/repos| Scenario | Behavior |
|---|---|
| Webhook deleted manually on GitHub | Warning logged, disconnection succeeds |
| User lost admin permissions | Warning logged, disconnection succeeds |
| GitHub API unavailable | Warning logged, disconnection succeeds |
| Network timeout | Warning logged, disconnection succeeds |
repo - Required to delete webhooks