Skip to main content
POST
/
branches
/
{branch_id}
/
redeploy
Redeploy with Updated Secrets
curl --request POST \
  --url https://api.example.com/branches/{branch_id}/redeploy
{
  "branch_id": "<string>",
  "message": "<string>",
  "version_id": "<string>",
  "version_status": "DEPLOYING"
}

Documentation Index

Fetch the complete documentation index at: https://docs.terminaluse.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

branch_id
string
required

Response

Successful Response

Response from a redeploy operation.

branch_id
string
required

Branch ID

message
string
required

Human-readable status message

version_id
string
required

New version ID created for redeploy

version_status
enum<string>
required

Version status after redeploy

Available options:
DEPLOYING,
ACTIVE,
FAILED,
UNHEALTHY,
DRAINING,
RETIRED,
ROLLED_BACK