Skip to main content
POST
Save stack drafts for a file

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
spec
ResourceSpecification · object
required
replace
boolean
default:false

Discard a stack's live draft and stage the file's body under its name. Absent means false: a live draft is refused.

Response

Successful Response

stacks
StagedStackDraft · object[]
required