PUT
Update a stack

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Stack UUID

Body

application/json

Update a stack

label
string

Human-readable display name

compose_path
string

Path to the docker-compose file within the repository

project_id
string

Move the stack, and every application and service it runs, to another project. Requires apps:manage. Refused when the stack's resource is assigned to projects that do not include the target.

Response

Update a stack

Api_V1_Entities_Stack model

uuid
string
required

Unique stack identifier

name
string
required

Stack codename (unique per workspace)

label
string
required

Human-readable display name

state
string
required

Computed state (pending, validating, publishing, building, deploying, running, degraded, failed, stopped)

project_id
string
required

Associated project UUID

compose_path
string
required

Path to the docker-compose file within the repository

deployment_config
object
required

Git deployment configuration (type, repository, branch, auto_deploy_enabled)

total_cpu_size
number<float>
required

Total CPU allocated across stack services (cores)

total_ram_size
integer<int64>
required

Total RAM allocated across stack services, in bytes

total_disk_size
integer<int64>
required

Total disk allocated across stack services, in bytes

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

miget
object
required

Api_V1_Entities_Resource model

services
object[]
required

Services materialized from the compose manifest

latest_deployment
object
required

Api_V1_Entities_StackDeployment model