Zum Hauptinhalt springen
POST
Move installed applications or Coolify resources from one owned stack's server to another

Autorisierungen

Authorization
string
header
erforderlich

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

Header

Idempotency-Key
string
erforderlich
Required string length: 8 - 128

Pfadparameter

id
string
erforderlich

Stack ID

Body

application/json
source_agent_id
string
erforderlich

Guard agent of the source server in this stack.

destination_stack_id
string
erforderlich
destination_agent_id
string
erforderlich

Guard agent of the destination server; must differ from the source.

owner_approved
enum<boolean>
erforderlich
Verfügbare Optionen:
true
engine
enum<string>

native moves installed applications; coolify (default) moves Coolify projects or resources.

Verfügbare Optionen:
coolify,
native
use_case
string

engine native: the installed use case to move with all its applications. Mutually exclusive with workloads.

Pattern: ^[a-z0-9][a-z0-9-]{0,62}$
workloads
string[]

engine native: one installed application (workload ref) to move. Mutually exclusive with use_case.

Required array length: 1 element
Pattern: ^[a-z0-9][a-z0-9-]{0,62}$
projects
string[]

Whole Coolify projects to move. Mutually exclusive with resource_uuids.

Required array length: 1 - 32 elements
Maximum string length: 128
resource_uuids
string[]

Individual Coolify resources to move. Mutually exclusive with projects.

Required array length: 1 - 32 elements
Maximum string length: 128
wallet_item_id
string

Coolify engine only: Wallet item id (itm_...) of the transfer secret; never the secret itself.

domain_switches
string[]
Maximum array length: 64

OLD=NEW host names; NEW must be a test domain.

Antwort

Relocation accepted or exact replay returned

data
object
meta
object