Redeploy a custom deployment in place
Rebuilds an existing custom deployment from its current source on the same agent — re-pulls the image, re-clones the watched git ref at its new HEAD, or rebuilds, using the existing startup and retained-release recovery policy.
Crucially, this reuses the same deployment, so the domain, the host port, and the reverse-proxy route are all preserved: your URL never changes. Prefer this over uninstall + recreate for shipping a new build — recreate is a heavier flow (and only the auto-allocated *.imprezaapps.com subdomain is reused across a recreate, via the per-name stickiness).
Uploaded-source apps may select a retained context_id; omission rebuilds the selected retained archive. Build recipe, paths and public build variables remain fixed. The selected source can differ from the running release after failure or rollback. Image refs and Git URLs remain create-time choices.
Same effect as a git push when auto-deploy is connected, but triggered explicitly with your API key.
Request
- Base URL: https://api.imprezahost.com/v1
- URL: https://api.imprezahost.com/v1/platform/deployments/custom/{id}/redeploy
- Auth: API key in header X-API-Key and API key in header X-API-Secret
Path parameters
Request body
Response
Redeploy enqueued (deployment flips to updating)
Changes
No recorded changes to this operation across all 1 revision of this API.