Apps

Redeploy an app

Triggers a fresh production deployment from the tip of the app's linked branch and responds 202 with the new deployment's initial status (queued or building). Poll the app detail endpoint to observe the deployment reaching ready or failed. The new build picks up the currently-applied environment variables.

post/api/v1/apps/{appId}/redeploy

Request

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

Path parameters

appIdstring required

Response

The new deployment's initial status.

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

Changes

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