fbpx
GEThttps://api.spotinst.io/aws/ec2/group/sig-12345/scale/suspensions?accountId=act-1234567

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to suspend

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "0bb5db74-2457-4a34-b8f3-174e6bf5578e",
    "url": "/aws/ec2/group/sig-12345/scale/suspensions?accountId=act-1234567",
    "method": "GET",
    "timestamp": "2016-06-19T08:41:57.516Z"
  },
        "response": {
        "status": {
            "code": 200,
            "message": "OK"
        },
        "kind": "spotinst:aws:ec2:suspension",
        "items": [
            {
                "scalePolicySuspensions": [
                    {
                        "groupId": "sig-12345",
                        "policyName": "test",
                        "state": "suspended"
                    },
                    {
                        "groupId": "sig-12345",
                        "policyName": "down Scaling Policy 1",
                        "state": "suspended"
                    },
                ]
            }
        ],
        "count": 2
    }
}