fbpx
PUThttps://api.spotinst.io/compute/azure/group/{GROUP_ID}/roll/{ROLL_ID}?accountId={ACCOUNT_ID}

Stop an existing roll.

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elasticgroup id you want to rolls status for

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountid associated with your token

Example: act-123abc
ROLL_ID * String

The roll id you want to stop

Example: sbgd-9876
Request - Update group

Headers
{  
   "Content-Type": "application/json",
   "Authorization": "Bearer ${token}" 
}
Body
Copied!
Downloaded!
{
  "roll": {
    "status": "ROLL_STOPPED"
  }
}

Body Attributes


  • roll.status * String
    set the status of the roll to “ROLL_STOPPED”
Response - 200

Headers
{
  Content-Type: application/json
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "3213e42e-455e-4901-a185-cc3eb65fac5f",
    "url": "/compute/azure/group/sig-12345/roll/sbgd-dfb956b4",
    "method": "PUT",
    "time": "2016-02-10T15:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:azure:compute:group:roll"
  }
}