Platform
Disconnect git auto-deploy
Turns auto-deploy off on our side immediately — further pushes are rejected (the token / signature no longer matches).
For a GitHub one-click hook, supply the PAT again to also DELETE the webhook from your repo (keeps Settings → Webhooks clean); without it, only the local switch flips. For a manual webhook, remove it yourself in your provider's webhook settings.
Idempotent: disconnect on an already-disconnected deployment returns 200 noop.
post/platform/deployments/custom/{id}/git-webhook/disconnect
Request
- Base URL: https://api.imprezahost.com/v1
- URL: https://api.imprezahost.com/v1/platform/deployments/custom/{id}/git-webhook/disconnect
- Auth: API key in header X-API-Key and API key in header X-API-Secret
Path parameters
idstring required
Request body
Example request
{
"github_pat": "github_pat_11AAAA..."
}Response
Disconnected (or already disconnected — idempotent)
Changes
No recorded changes to this operation across all 1 revision of this API.