v1

latestOpenAPI 3.1.02026-08-04151221521.2 KB
Branches

Redeploy with Updated Secrets

Redeploy a branch with the current secrets from the EnvVar table.

Creates a new Version with:
- Same image as current version
- Fresh secrets_snapshot from current EnvVars

Use this after updating secrets to apply them to a running branch.
post/branches/{branch_id}/redeploy

Path parameters

branch_idstring required

Response

Successful Response

branch_idstring required

Branch ID

messagestring required

Human-readable status message

version_idstring required

New version ID created for redeploy

version_status'DEPLOYING' | 'ACTIVE' | 'FAILED' | 'UNHEALTHY' | 'DRAINING' | 'RETIRED' | 'ROLLED_BACK' required

Status of a version in its lifecycle.