Pipelines

Redeploy a pipeline

Triggers a fresh production run from the tip of the pipeline's linked branch and responds 202 with the new run's initial status (queued or running). Poll the pipeline detail endpoint to observe the run reaching a terminal status. The new run picks up the currently-applied environment variables.

post/api/v1/pipelines/{pipelineId}/redeploy

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/pipelines/{pipelineId}/redeploy
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

pipelineIdstring required

Response

The new run's initial status.

status'queued' | 'running' | 'ready' | 'failed' | 'canceled' required

Changes

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