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.
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. |