impreza_git_webhook_disconnect
Stop automatic deployments by disconnecting the git webhook. Optionally remove the webhook from GitHub with a personal access token.
Instructions
Stop auto-deploying from git. Always clears the Impreza-side webhook state (further pushes are rejected — the token/signature no longer matches). For a GitHub one-click hook, supply github_pat to also DELETE the webhook from the repo cleanly; for a manual/generic hook (GitLab, Bitbucket, Gitea, self-hosted, CI) remove it yourself in your provider's webhook settings. Idempotent — calling on an already-disconnected deployment is a no-op success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deployment_id": "<deployment_id>"
},
"name": "impreza_git_webhook_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| github_pat | No | Optional. Same scope as connect. Supply to also remove the webhook from GitHub's side. | |
| deployment_id | Yes | The dpl_... id to disconnect. |