Skip to main content
POST
Clone Stack To Cluster Endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

cluster_id
string<uuid4>
required

Body

application/json
source_cluster_id
string<uuid4>
required
stack_name
string
required
deploy_after_clone
boolean
default:false

Deploy the cloned draft onto the target straight away, unless the clone had to strip secrets it would ship as placeholders; such a draft is held and needs_input names what to re-enter.

include_addon_configurations
boolean
default:true
new_stack_name
string | null
target_organisation_id
string<uuid4> | null

Response

Successful Response

addons_cloned
integer
required
draft_id
string<uuid4>
required
manifests_cloned
integer
required
stack_name
string
required
addons_needing_reconfiguration
string[]
cross_org_registry_credentials_missing
string[]
cross_org_secret_slots_dropped
Cross Org Secret Slots Dropped · object[]
deploy_error
string | null

Why a requested deploy did not happen; the draft is kept.

deployed
boolean
default:false

Whether a deploy_after_clone request deployed this draft.

job_count
integer
default:0
needs_input
CloneNeedsInputItem · object[]

Members whose secrets were stripped by the clone.

operation_id
string | null

The deploy operation, when one ran.

warnings
string[]