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

Remove active suspension from Elastigroup

URL Parameter

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to remove the suspension from

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc

Available Body Attributes


Attribute Type Description
processes * Array

The list of processes to remove from suspension. Valid values are: AUTO_SCALE, AUTO_HEALING

Request

Headers
{
    "Content-Type": "application/json",
    "Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
{
  "processes": [
    "AUTO_SCALE"
  ]
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "da68053f-12ac-4046-b8b4-e1dea20f4c21",
    "url": "/aws/ec2/group/sig-12345/suspension",
    "method": "DELETE",
    "timestamp": "2016-06-15T15:46:44.612Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:suspension",
    "items": [],
    "count": 0
  }
}