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

List all active Suspended processes for specific Elastigroup

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to list all the suspended processes

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Request

Headers
{
    "Content-Type": "application/json",
    "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "fa110d60-bdc0-49b2-974c-19a68ae03ec9",
    "url": "/aws/ec2/group/sig-12345/suspension",
    "method": "GET",
    "timestamp": "2016-06-15T15:40:28.917Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:suspension",
    "items": [
      {
        "groupId": "sig-12345",
        "processes": [
          "AUTO_SCALE"
        ]
      }
    ],
    "count": 1
  }
}