Scale stack item
post/midgard/v0.1/stack/scale/{stackItemId}
Up- or downscale a stack item. Supply only one of add, remove, or total.Request
Authorization
X-AT
header
apiKey
Path Parameters
stackItemIdStack item ID.
integer
REQUIRED
Body
application/json
addNumber of instances to add.
integer
removeNumber of instances to remove.
integer
totalDesired total number of instances.
integer
createArtifactWhether to create a new artifact before scaling.
boolean
fullyRedundantWhether to scale across different hosts.
boolean
Response
200Stack item scaling handled successfully.
403Returned when the requester is not authorized.
404Stack item not found.
422Invalid scale request.
Shell cURL
shellShow schema
json