fbpx
PUThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}/clusterRoll?accountId={ACCOUNT_ID}

Update a running ECS cluster roll status

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to update

Example: sig-test1234
ACCOUNT_ID * String

The Spotinst accountId associated with your token.

Example: act-123abc
Request

Headers
{
  "Authorization": "Bearer ${token}",
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{ 
	"roll" : 
	{
		"status": "STOPPED"
	}
}
Attribute Type Description
roll * Object

roll.status * String

Valid values: "STOPPED"

Example: STOPPED
Response - 200

Body
Copied!
Downloaded!
{
    "id": "scr-5aaf854e",
    "status": "STOPPED",
    "currentBatch": 3,
     "numOfBatches": 5,
     "progress": {
          "unit": "percentage",
          "value": 40
         },
       "groupId": "sig-43a8a5ee",
       "createdAt": "2019-03-24T15:50:09.000Z",
       "updatedAt": "2019-03-24T15:46:09.000Z"
 }