fbpx
PUThttps://api.spotinst.io/gcp/gce/group/{GROUP_ID}/roll/{ROLL_ID}?accountId={ACCOUNT}

Stop an existing deployment.

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to deploy

Example: sig-12345
ROLL_ID * String

The deployment id you want to stop

Example: sbgd-9876
ACCOUNT * String

The Spotinst Account ID

Example: act-123567
Request

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

Body Attributes


Attribute Type Description
roll.status * String

set the status of the group to “STOPPED”

Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
      "request": {
          "id": "6ce51f6d-7618-4544-8690-fb6680f89b74",
          "url": "/gcp/gce/group/sig-68fbd02b/roll/sbgd-190f083c?accountId=act-f79aac6b",
          "method": "PUT",
          "timestamp": "2018-02-07T11:58:19.215Z"
      },
      "response": {
          "status": {
              "code": 200,
              "message": "OK"
          },
          "kind": "spotinst:gcp:gce:group:roll",
          "items": [
              {
                  "id": "sbgd-190f083c",
                  "status": "STOPPED",
                  "progress": {
                      "unit": "percentage",
                      "value": 0
                  }
              }
          ],
          "count": 1
      }
  }