Platform

Cancel an exact deploy operation before container replacement

Requires manage permission. Queued jobs are cancelled immediately; running preparation requires agent 0.6.5+. A running pull/build finishes its current step before cancellation is confirmed. Replacement/recovery cannot be cancelled. HTTP 202 is only a request. Poll last_operation.status and cancellation; only cancelled confirms the stop. Task cancellation is separate. Controlled jobs with an interrupted agent are not automatically redispatched.

post/platform/deployments/{id}/cancel

Request

  • Base URL: https://api.imprezahost.com/v1
  • URL: https://api.imprezahost.com/v1/platform/deployments/{id}/cancel
  • Auth: API key in header X-API-Key and API key in header X-API-Secret

Path parameters

idstring required

Request body

command_idstring required

Response

Queued or already confirmed cancellation

Changes

No recorded changes to this operation across all 1 revision of this API.