Skip to main content
POST
Adopt Stack Profile 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
profile_id
string<uuid4>
required
stack_name
string
required

Name of the stack already deployed on this cluster.

parameters
ParameterBinding · object[]

Non-secret parameter bindings recorded on the deployment and carried forward by a later rollout.

version
integer | null

Published version the stack is recorded at. Defaults to the profile's current version.

Response

Successful Response

current_version
integer
required
drift
AdoptStackProfileDrift · object
required
outdated
boolean
required
profile_version
integer
required
retracked
boolean
required

True when the stack was already a deployment of this profile and the adoption only moved the recorded version.

stack_name
string
required